The CreatorCon Call for Content is officially open! Get started here.

embedded list field validation on submission of form

siramdasu
Mega Contributor

Hi I have two embedded lists in a form, a field name called uni_number in both the embedded lists, on submission of form or on saving of form, it should throw a notification or error message that uni_number should be 12 digits.... this i have done on the individual tables of embedded lists but it didn't work when user enters data in embedded list....

7 REPLIES 7

Harsh Vardhan
Giga Patron

Hi Hemanth,



you want to validate the input in the embedded list column and based on that you want to through some alert or error? is that you want.


have you written onCellEdit() client script ?


yes I will enter input in uni_number field, if I submit the form or save the form it should me alert or message as "should be 12 digits"... as like it shows for field in a normal form


if user enters 12 digit number it should   not show any thing and form gets submitted...


onCellEdit() will only work if you made any changes in cell (column) level. but you want it after save. so best would be business rule. as pradeepksharma has already suggested you .