Skip to content

How can we access and change field values programmatically? #322

Answered by jmikrut
Optiq01 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @Optiq01 — great question!

There are a lot of ways that this could be accomplished. Firstly, have you seen the Conditional Logic feature yet? Your use case of having a checkbox to toggle a field set on and off is exactly why we built it.

See this screen capture for a similar implementation:

conditional-logic.mp4

Now, this feature only shows and hides field groups. Alternatively, if you need to change the values of existing fields when some other field is modified, then you can use either a field hook, which allows you to set a field's value dynamically based on other field values, or you can create a custom field component and utilize our forms' hooks, which gives you access …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Optiq01
Comment options

Answer selected by Optiq01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants