• I need to validate the text a user inputs in an input field. Before sending, the plugin should check if some conditions are met (example if there are only numbers in the field).
    I can’t find the options to do so though. Is there a way to do it?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @clesissrl,

    I hope things are going well for you.

    (example if there are only numbers in the field).

    Since you need only numbers to be allowed in the field, you can try a “Number” field instead of a text input field.

    If you’re seeking something else, could you please provide more details about what you’re aiming to achieve?

    Looking forward to hearing from you soon.


    Kind Regards,
    Imran Khan

    Thread Starter clesissrl

    (@clesissrl)

    Thanks for your reply!
    I actually have to use the input field. The user must insert a code with a combination of 6 letters and 2 numbers.

    I have a similar requirement where I need to validate an alphanumeric string where the first 3 values are char and the remainder is numeric.

    Gerald

    Plugin Support Nebu John – WPMU DEV Support

    (@wpmudevsupport14)

    Hi @clesissrl @geraldjim,

    I am afraid Forminator does not have an option to validate the input field as such out of the box. However, it should be possible using custom coding.

    I am afraid that providing custom code is outside the scope of the general support we provide here. For that, you’ll need to hire a developer to provide the required custom code for you. WordPress provides a jobs directory here: https://jobs.wordpress.net/. If you need further advice about it, feel free to email us at wpsupport@incsub.com using the following subject line.

    Subject: ATTN: WPMU DEV support - wp.org

    Kind Regards,
    Nebu John

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.