• Resolved ZeitGeist_14

    (@zeitgeist_14)


    Hi, I want to create a custom field and validator for the registration form, for validating Document Numbers from users.

    How can I do it? What file do i need to edit? I just need a text input with javascript mask and I have the validate function ready.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ZeitGeist_14

    (@zeitgeist_14)

    I already found the documentation here. But it is not clear where I can insert that code.

    I know that in theory I should not change any code from the plugin because it will hurt feature updates.

    But then where do i put it?

    Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @zeitgeist_14,

    The validation function should be added to your theme’s functions.php file.

    Regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Create custom field with custom validator’ is closed to new replies.