on 07-03-2008 11:26 AM
Hi Experts,
I have a text field in adobe form,.If user could not interact this form, without filling the text field..can you please give me the suggestion?
Thanks,
Hans
Hi,
In the layout definition of the form, select your field . In the tab object, sub-tab Value , set the field as mandatory ...that's all folks .
Best regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hans,
Using Javascript, you can do like :
if(this.rawValue.IsNull)
{
xfa.host.messageBox("Please enter value");
xfa.host.setfocus(CompleteFieldName);
}
Regards,
Arafat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Write the following script at the exit event of your text field.
if ( $.rawValue == null )
then
$host.messageBox("Please Enter Value")
$host.setFocus("TextField1");
endif
Here TextField1 is the name of the text field.
Regards,
Vaibhav Tiwari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.