on 01-06-2010 5:19 PM
Please help to resolve triggering OnSubmit event problem.
I created a test Webdynpro with UI element InteractiveForm.
The InteractiveForm properties are:
- displayType = native
- enabled is checked.
OnSubmit event a method is called. The method contains very simple code so I could debug and see if the event is triggered.
The form was created in SFP with Layout type = Native.
The form properies are:
Default Lang = Javascript.
Default run = at client
Preserve scripting changes to form when saved = Manually
I have inserted Webdynpro script thru SAP Utilities menu.
The form has SubmitToSap button and Textfield.
So now i am trying to debug WDA.
At runtime WDA opens Adobe form.
If I enter data into Textfield and then click SubmitToSap button - OnSubmit event is triggered. I am happy.
Then I run WDA again. This time I click SubmitToSap button right away without entering data into Textfield. OnSubmit event is NOT triggered this time.
Is something wrong with my form properties?
Thank you very much,
Tatyana.
Check if you have marked TextField as mandatory, in that case sumbit event will not be triggered as the form will check for required fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Manas, you are right.
OnSubmit event was not triggered unless U enter value into Textfield because the Textfield property was "Requiered".
Also just for clarification the form Layout type is ZCI Layout (not Native like I said above).
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.