Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

validate empty cell in table row

eugzl
Level 5
Level 5

Hi All.

I create form in LiveCycle with repeat table row. Now I would like to validate each cell in each row that it cannot be empty. If it is possible. How it to do?

Thanks.

3 Replies
Magus069
Level 10
Level 10

Hi eugzl,

If you have only 1 repeatable row in your table, it is pretty easy to validate fields use a for loop clause

ellis355
Level 3
Level 3

Hi Magus

Appreciate this thread is a year old now but I think I can use similiar code to validate a table I have (see post below)

Validation - user needs to complete at least one field of a table...

One immediate question: where would I put this javascript? What object and what event to trigger?

Thanks

Ellis

Magus069
Level 10
Level 10

Hi there,

It depends, if you have a specific place in the form which absolutely needs to have this validation passed, you can set it on the enter event of that part...

otherwise you can have a button which will be your validation button for your form, and gives recaps on how to fill the form before submitting it..

Hope this help!