1
0
-1

We have a form with a zillion date fields that all have the same validation.

We're calling a function from a js library for the validation.

But I'd like to also store the validation message in a central spot, so we only have to update it once if needed.

Can anyone suggest a suitable way to do this?

Thanks,

Lin

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi Lin,

      I think you can store the message in TM as a property or datasource, then pull it from your form or even inject it as a prefill.

      If you prefer to keep it in the form, maybe datafield or hidden field, and refer to it to display the error.


      Kind regards,

      Julio.

        CommentAdd your comment...