on 12-18-2008 3:59 AM
Hi,
I have nearly 20 mandatory fields in my form which is built in online WDABAP. These fields are mapped to Dataview (BAPI). And for making madatory I have selected User Enter Required from Value tab and in empty message I have written error messages for all the fields.
And the form is of type zci. I have placed a submit button from Webdynpro Native, but when I click submit with out entering any value, the error messages are not displaying for Mandatory fields.
Where Im going wrong? is this is the right way ? Please help me out.
Warm Regards,
Smitha
Hi,
Just Try to put the following code in the click event of the submit button:
if ( TextField1.rawValue == '' )
xfa.host.messageBox( "Fill up Textfield1" )
else if (TextField2.rawValue == '')
xfa.host.messageBox( "Fill up Textfield2" )
.
.
.
.
else
(Put here the default code of the submit button)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you have to enter the submit button from the form then only the validation will happen...
Thanks and Regards
shanto aloor
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 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.