How to validate a text field to only contains numbers in Forms/Landing Pages?
Hi!
- We are using Eloqua Forms & Landing Pages. We have this "Document Number" field that needs to be a numeric field of 8 characters, but also can contain a zero at the start. For example "01234567" is a valid Document Number.
- Since it can contain a "0" at the start, we think it has to be a Text field, but we are not sure how to validate field to only contains numbers.
- It seems that in the Eloqua Forms there is no such validation for text fields.
- I tried adding this script at the very end of the Landing Page, but it overrode all the previous Eloqua standard form validations... I am not sure if it is a correct script or where to put a custom javscript validation in order to not generate conflict with the others
0