cancel
Showing results for 
Search instead for 
Did you mean: 

Drop-down Default value

Former Member
0 Kudos

Hi Experts,

I new to adobe forms.I have to get drop-down initial value.

For Ex:

In MY dropdown.....

First - Blank

Second - CAR

Third - BUS

Code:

if($.rawvalue == "")

then

$host.messageBox("Please fill")

endif.

Please tel me if I am wrong....

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

just replace the dd.rawValue == "" with dd.rawValue == null

Thanks for all

vaibhav_tiwari
Contributor
0 Kudos

Hi Mathi,

What do you want to do. I mean if the user don't fills any value in the drop down then you want to display this message. If so then you are absolutely right just put the code in the exit event of the dropdown box.

Regards,

Vaibhav Tiwari.

Former Member
0 Kudos

Hi Vaibhav Tiwari.,

Yes I put the code in EXit event...But this message not triggered....Please help me

Thanks

Former Member
0 Kudos

Hi Mathi,

just replace the dd.rawValue == "" with dd.rawValue == "null" or dd.rawValue.IsNull.

Hope this helps!!

Regards,

Arafat