Title: User Registration Form
Last modified: August 31, 2016

---

# User Registration Form

 *  [jamestrada](https://wordpress.org/support/users/jamestrada/)
 * (@jamestrada)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/user-registration-form-2/)
 * I have an Avada theme and I would like to create with the theme a friendly page
   where the user can enter a lottery ticket to see if it’s a winning ticket or 
   not. Upon entering the ticket number in a text field and clicking “go”, the user
   will be prompt to register to the site where one of the custom fields will be
   the ticket number that should be filled out automatically since it was entered
   before registering. After the user registered, the ticket number will be checked
   on the database to see if the number entered exists or not. Every week more numbers
   will be added to the database.
    What I have thought using is the WordPress plugin
   _User Profiles Made Easy_ for the front-end user login/registration. Now where
   I am stuck is if there’s any solution out there where I can put a custom PHP 
   script that will check if the number entered exists in the database or not. If
   I have to do it manually, how and where can I put that code in the plugin that
   I mentioned (or a similar plugin). Additionally, how can I access the database
   and create a table with the numbers that will be added weekly (an expandable 
   database)? I am confused on how to interact with plugins and themes to create
   the visuals and registration form and my own code (if I have to). Any ideas or
   suggestions?

The topic ‘User Registration Form’ is closed to new replies.

## Tags

 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [database](https://wordpress.org/support/topic-tag/database/)
 * [field](https://wordpress.org/support/topic-tag/field/)
 * [login](https://wordpress.org/support/topic-tag/login/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [register](https://wordpress.org/support/topic-tag/register/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [jamestrada](https://wordpress.org/support/users/jamestrada/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/user-registration-form-2/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
