Skip to main content

HI

 

I need to add some value to dropdown using rule.

How can i achieve this...

 

Thanks in advance

Hi,

 

I don't think there is a direct rule that allows you to do this. Here's a workaround:

 

1. Create a SQL database table to store your drop down list values

 

2. Create a SmartObject from that table

 

3. Don't use static list for your drop down list control. Set it to a SmartObject source.

 

4. In you form, set a rule to call the Create method of the SmartObject to insert any new values you want for your drop down list

 

5. Once you have inserted the new value into the table, call the rule "Populate a list control with data" again to reload the drop down list.


Thank You so muchhh


Reply