This repository has been archived by the owner on Mar 7, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 145
Dynamic Buttons #575
Comments
Hi @pranavksahu! Sure, check the Payment demo, there we have a fieldUpdatedBlock, basically, after setting this block your app will be informed of any event on the fields. In this demo the app gets informed when the pay button gets tapped. Let me know if there's anything else we can do for you :) |
Hello,
Yep i looked into fieldUpdatedBlock which gives back the event.
Which is one step. 2nd Step i am looking into different types of actions a button can have.
Suppose i have a screen with a textfield and user enters a URL. On tap of the button i wanna open safari.
Like that i might have some fields and based on the screen the button action can be dynamic.
I am looking for something where the actions can be part of the JSON itself.
Some of the action like click to URL, Click to Map, do copy from source to destination etc.
I am trying to modify the json to have source, target and action.
Any thoughts on this.
Thanks
—Pranav
… On Jun 20, 2017, at 12:18 AM, Elvis Nuñez ***@***.***> wrote:
Hi @pranavksahu <https://github.com/pranavksahu>!
Sure, check the Payment demo, there we have a fieldUpdatedBlock, basically, after setting this block your app will be informed of any event on the fields.
In this demo <https://github.com/hyperoslo/Form/blob/master/Payment/RootController.swift#L18-L28> the app gets informed when the pay button gets tapped.
Let me know if there's anything else we can do for you :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <https://github.com/hyperoslo/Form/issues/575#issuecomment-309640510>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AcLsHdotGB_kLq7YBQtk1JSaNiiGJY6Tks5sF0gogaJpZM4N-nDA>.
|
Hi @pranavksahu, I think you will have to do it in your own fork of Form and before the |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I am trying the FORM to render dynamic User interface. I like my button actions to be dynamic too. Like when user clicks a button open an URL from a Textfield in the same screen. Or copy some data from a field and paste in another textfield in same screen. So looking for dynamic button actions. Is this something can be doable ? Appreciate any suggestions here
Thanks
--Pranav
The text was updated successfully, but these errors were encountered: