You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Groovy script to Validate comment entered through data form

Summary:

Hi,

I am new to groovy BR. I am working on Groovy BR to validate "comment" entered by user using data form. A member with "Text" data type is used in data form for comments.

When I use below code to iterate over data cells but it returns "0" instead of comment.

Can you please help me how to get comment entered using groovy script and how to validate comments size.

operation.grid.dataCellIterator().each {
println ("$it.memberNames, $it.data")
}

Thanks,

Rakesh

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):



Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!