Home › Forum › Laying out a Form › Dynamic layout changes
Tagged: dynamic layout, hidden, location, move, set property, Set State
This topic contains 1 reply, has 2 voices, and was last updated by Karlo Huezo 5 years, 2 months ago.
- AuthorPosts
- October 27, 2015 at 3:17 pm #9946
Hello,
I am trying to create a form in which the layout would dynamically change based on user input. If possible I am trying to make the form shift its contents to a new location on the form based user input.
For example:
A user is asked a question, if the user chooses yes then the contents below would shift to display more questions relating to the initial question. If the user chooses no, the content would stay in place and display the next question.Is it possible to dynamically change the layout of the page depending on user input
Thanks so much for your help
October 27, 2015 at 3:24 pm #9967Hello,
To accomplish this, you will want to use the “Set Property” command.
/Documentation/manual/html/index.html?fl_set_property.htm
This will allow you to specify things like object location, color and other properties as triggered by behaviors in the form. Alternatively, you can use the “Set State” command to modify visibility and accessibility.
/Documentation/manual/html/index.html?fl_set_state.htm
An example of use here would be to hide specific fields in your form by default, then use “Set State” to display them when a specified field contains data. You can then use the “Set Property” to bring the visible field into attention by moving it closer to the field that was recently edited.
Thanks,
Karlo
- AuthorPosts
You must be logged in to reply to this topic.