cancel
Showing results for 
Search instead for 
Did you mean: 

input validation (in Backend)

Former Member
0 Kudos

Hi Gurus,

following Problem,

i have developed a table with a Inputfield as Tablecell editor (bind it to a contextnode). After input i'd like to check the value in the backend (and raise if necessary a message). But I can't find a action, which tells me, that the user input is finished. Any ideas?

Thanks in advance

Stefan

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hai Stefan,

You have to give values for the inputfield in table. and then you need to submit that data , for that you have to create button or any.

on that action

for(int i=0;i<wdContext.nodeTable().size();i++){

String s=wdContext.nodeTable().getTableElementAt(i).getinputFileldData();

if(validate(S)){

//ur message

}

regards,

naga

}

Abhinav_Sharma
Contributor
0 Kudos

Hi Stefan,

You can validate the input by using onEnter action of the inputfield.This action will be triggered when user inputs something and hit the enter key. Thus, you can do whatever and as you like with ur code;-)

PS : Plz reward points

Abhinav Sharma