• Hello,

    Great plugin!!

    I need to validate the custom input field to only accept numbers and not letters. Currently it only validates empty/not empty.

    Is there a hook or filter?

    If there is not a hook/filter, PLEASE tell me what files / folders I can look at?

    Please

    I really need it.

    Thank you!!!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, unfortunately at present this feature is not available in our plugin. I have submitted a request to the developers to investigate further your request.

    Thank you

    Thread Starter karlosuccess

    (@karlosuccess)

    Can you please guide what files or folder to look at?

    In what file do I find the code that validates if the input is empty or not?

    Please I need this.

    Just tell me the file(s).

    Plugin Contributor Alexander C.

    (@alexanderfoxc)

    Hi.

    There is no easy way of doing this at the moment, unfortunately. Frontend validation is controlled by JavaScript and you can’t just simply override it without possibility to ruin something.

    I have added your request to our inner ticketing system though. Validating custom field input by specific rules sounds like a good feature.

    Thread Starter karlosuccess

    (@karlosuccess)

    Alright sounds good! Maybe adding a filter or something.

    Will be awaiting for it!

    Thanks

    Thread Starter karlosuccess

    (@karlosuccess)

    It would be great is we can add our own validation rules. Ie, validate if input is a url. etc. Thanks

    Plugin Contributor Alexander C.

    (@alexanderfoxc)

    Hi. This functionality will be available in the upcoming version of the plugin.

    You can use JavaScript RegExp in the settings to achieve what you want. We have also added “Numbers only” pre-defined validation rule so you can use it right away without the need to compose your own validation RegExp.

    If you want to test this functionality before it is released, you can download testing version from plugin’s website.

    Plugin Contributor Alexander C.

    (@alexanderfoxc)

    Current stable version 1.9.18 has this functionality implemented.

    Let me know if you had a chance to test it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Validate the custom input field’ is closed to new replies.