Form Builder Common Questions
Table of Contents
What are Smart Controls?
Smart Controls use JavaScript to add various functions to forms as shown below. They can be used to hide elements, perform skip logic, change data and more.
Click here for more information on Smart Controls.
How do I clear a value from an element?
To clear a value in an element, follow the instructions below. In this example, will be adding the ability to clear a photo captured in the Image Element.
STEP 1. With your form loaded in the Form Builder, add an Image element to your form.
STEP 2. Name your Image element.
STEP 3. Add a Toggle element to your form.
STEP 4. Name your Toggle element.
Note the data column name (clear_photo).
STEP 5. In the Dynamic Value of the Image element (take_a_photo), put the following JavaScript:
if(clear_photo==1){null}
This is saying if the user clicks on the Toggle element, the photo will be cleared from the Image element.
STEP 6. Save your form.
STEP 7. Test the functionality on your device.
What elements are supported?
Below are the elements that support this functionality.
Comments
0 comments
Please sign in to leave a comment.