cancel
Showing results for 
Search instead for 
Did you mean: 

I need to validations on click of submit

Former Member
0 Kudos

Hi All,

We are trying to update an interactive form on click of submit button.

We should validate the the fields before it is saved to R/3 database.

we are having a table in which rows are increased dynamically depending on the node <x> size.

i need to check each row which are input fields in table whether it is null or !null.

so we need write script for these validations. please tell me how to get the values of each row and check the value in script coding.i am trying to use the for loop in script.Please correct me.

value node which is mapped to table row is : <x>

value attribute which is mapped to column of the row is: <name>

Regards,

Rajesh.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

....

Former Member
0 Kudos

Hi,

Which Adobe form u re using offline or online?

Regards,

Gaurav

Former Member
0 Kudos

hi,

hi u can validate these values in in wdj itself...it will be similar to looping through tables in that u have in webdynpro java view.

in the livecycle designer under libary tab u have webdynpro tab--->choose submit to sap button and place it in the adobe form ur designing. u can use this button to trigger the code that u have written in webdynpro java.

add submit to sap button in ur form.

this button correspond to the onactionSubmit dat u have written in the ctrller.

so wen u click this the code for validation will be executed.

Regards

Jay