• For a client, I have to create a form with name, email and registration code. The registration codes should be in a list. This list should contain 500 generated codes with a length of 8 numbers/letters as for example: “A1B2C3D4”.

    If someone fills in the form, the value of the registration code inputfield should be checked if it exists in this list. If so, the code should become “used” and cannot be used again after registration.

    Sideinfo, I am a wordpress beginner and I am using WPForms Pro.

    • This topic was modified 5 years, 7 months ago by yarneds.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Ethan Choi

    (@ethanchoi)

    Hi yarneds,

    Currently we don’t have the option to generate registration codes. I’ve noted your suggestion for our team’s future consideration. I apologize that we are not able to provide for what you’re looking for right now.

    As a paid license holder, please know that you have access to our dedicated email support when you submit a ticket for any questions you might have in the future.

    Thanks ??

    Just a WPForms user and site builder with one suggestion >> Although it’s not entirely clear your circumstances, it may be similar to ones I have designed around. If in fact the registration code is 1) unique and 2) externally provided/generated (meaning they come to the website with their unique code in hand, so to speak), you might consider setting up WP login ID. For my instances, having a code provided the user with a few special functions to access. So, extra pages were unlocked for those logged in using the code as their WP ID. Same might work for your need, where you create a table of 500 new users. However their registration code is communicated could prompt them to login as well as a message on the landing page. Perhaps the registration page is one that is behind the login. So, only once they login can they access the page with the official registration form. And the WP ID can be passed to a field (which behind the form you will know is the official registration code.)

    I may be inferring a lot about what your codes and delivery sequences are. But if I am close, perhaps this is an option.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Create form validation where inputfield checks if value is in a certain list’ is closed to new replies.