cancel
Showing results for 
Search instead for 
Did you mean: 

Insert or Add new row

prashil
Advisor
Advisor
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member202465
Contributor
0 Kudos

Hi ,

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

prashil
Advisor
Advisor
0 Kudos

Hi Udi,

I love to get some basic idea.

Please share your thoughts.

Thanks

Prashil

former_member202465
Contributor
0 Kudos

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

prashil
Advisor
Advisor
0 Kudos

Thanks Udi,

I did see your blog and achieved it.

Many thanks for helping me out.

Best regards

Prashil Wasnik

Answers (0)