Forced Formatting For An Order Form Field
Here is how you can apply some forced formatting to an Order Form field, for example, a phone number or an account number.
Add the script below to your form and replace FIELDNAME with the name of your field.
<script type="text/javascript">
$(function() {
$('#udf_FIELDNAME').mask('999.999.9999');
});
</script>
Below is an example of that being used, I can only type numbers and only in a specific format.
Comments
0 comments
Please sign in to leave a comment.