Yes - you can.
If you are looking to add scrips that will set values in your form fields you can do so by inserting the script to an HTML element.
Following is an example:
In this example we will show you how to set the value 'Hello' in the Textbox field.
- Create a new form
- Drag a Textbox
- Drag an HTML element
- Find out what the ID of the Textbox is:
Select the HTML element on canvas and go to 'Properties' panel > 'Element' tab > 'Settings' option
(The ID is located on the Settings tab).
- Copy this code into the HTML element:
<script>
window.parent.ftSetValueByID("fld3", "Hello");
</script>
- Press on 'Apply code' button
- Save the form
- Now test your form:
Publish it as URL and you will see that the Textbox has the text 'Hello' in it.
Enjoy!
- Asking us questions is the fastest and most affective way to get assistance.
- Got a question? Check out our FAQs pages for answers to commonly asked questions.
- Check out our complete index of the FormTitan Topics organized by categories.
- Browse our topics directory to find the feature you are looking for.
- ContactStill haven't found what you were looking for? no problems... simply send us your inquiry.