I have a custom field phone number and I have made it manadatory. Can you tell me where I need to add validation (phone number types) for this in the code?
You'll need to change the code in edit_entry.php so that for this particular custom field the input has a tytpe attribute of "tel" and also add a pattern atrribute for validation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Campbell,
Any update on this?
Thank You
You'll need to change the code in edit_entry.php so that for this particular custom field the input has a tytpe attribute of "tel" and also add a pattern atrribute for validation.