Okay
  Public Ticket #2603643
Add validation to custom field
Closed

Comments

  • Raul started the conversation

    Hi,

    i have a custom field in the booking proccess. This field is related to the identification number in our country (Rut).

    There is a way to add validation to that field? i have the code related to that validation, we need to validate that the user is inputing a correct Rut first to make the booking.

  • Raul replied

    Help,

    someone :c

  • [deleted] replied

    Hi Raul, 

    There isn't a possibility of adding validation to a custom field in Amelia with its current features, unfortunately. 


  • Raul replied

    Hi Marija,

    There is a way to target it with a script or something like that? and add my validation code?

  • [deleted] replied

    Hi Raul, 

    No, unfortunately, there aren't such scripts available. The custom fields don't have ID/class in Amelia at the moment, so you can't target them this way. We have a plan to add classes/ID to them in the future updates of the plugin, so that will maybe help out in targeting the exact custom field with some code. 

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help out.