Answered
Hi,
Iam using a dropdown in which values get populated during runtime from MDM.
i need to check a whether a particular value in that dropdown list exists or not.
If it exists then that value should be set as the default one.
How do i perform the check?(in javascript/FormCalc)
Waiting for reply...
Thanks
this is possible but the method depends on the method you populate the dropdown list.
An example:
You have a ddl and populate it on enter:event from an array stored in a variable named "MyDdlValues".
Therefore you use a for loop that pushes the values from the variable into the ddl.
In this loop you can add an if-expression that also checks the values and sets the matching one as default value.
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs