Expand my Community achievements bar.

warning message

Avatar

Level 7

There is any way, when a user select a number from a DDL which starts from 123 a warning window to come up and

inform them that they have to fill a specific field?

Thank you

2 Replies

Avatar

Level 9

Hi,

In the DropDownList change event put the following code

var a = Substr(xfa.event.newText,1,3)

if (a == "123")then

xfa.host.messageBox("The warning message you want to display")

endif

Use FormCalc for this instead of javaScript.

Thanks,

Bibhu.