on 05-18-2009 5:01 PM
Hi,
I have an interactive form .I want to make Email input field as mandatory.
When I choose from object properties Value/TYPE as user entered Required ... It is just giving me a message and conituining.I don't want to continue if we don't have e-mail input.
I tried giving message and it brings up that message and then continues.
Any ideas?
rgds
vara
Hi Vara,
In the click event of the button you can write java script like if the rawValue is null then display a message.
In this case it will not continue until you give some input.
For example:
if(Subform.BUKRS.rawValue == null || Subform.BUKRS.rawValue == "")
{
xfa.host.messageBox("Company Code is mandatory.Please enter some value");
}
Hope it should solve your problem.
With Regards,
Ravi.D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How are you using the form? Through a custom application, HCM Processes and Forms, something else?
Just in general....Interactive Forms typically are "saved", not "submitted".....so their "in form" validations do not trigger as you would expect. Even if marked as required, you may have to come up with another way to actually validate (we do this with generic services on backend). This is even stated in Adobe's own documentation if you look under the Livecycle help...try a search on "required" or "validate" and you will find it. I am actually doing a blog on this now with more details. haha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.