You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to validate a text field to only contains numbers in Forms/Landing Pages?

in Eloqua 1 comment

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
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!