on 01-14-2015 8:47 PM
Hi,
We have a requirement of dynamically add or delete dropdownlist on click button.
I could see there are custom action for Add Row and Insert Row, but it always ran into error saying either "From" or "To" is missing.
Looks like these actions are only available for table and not for forms?
Please let me know if anyone has tried/achieved something similar.
Thanks in anticipation
Prashil Wasnik
Hi Prashil Wasnik,
If I get this right - you want to dynamically add controls to a Form?
There is no built-in option for this. You could however model something yourself, that will be somewhat limited (I could show the basic idea if you're interested).
Thanks,
Udi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prashil,
This is how it may look in the application:
In modeling:
1. Add the relevant fields with controls for the Form. Also add a numeric field for "size".
2. Add the Visibility Conditions: @size>0 for the first control, @size>1 for the second, and so on.
3. In the Layout Board, define the Action for "Add" button:
Hope this helps
Here is another reference for showing / hiding controls:
Thanks
Udi
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.