Title: conditional search
Last modified: September 7, 2023

---

# conditional search

 *  [stefanocps](https://wordpress.org/support/users/stefanocps/)
 * (@stefanocps)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/conditional-search-3/)
 * hello i need this function: a user is asked to input a number (or a code) and
   this cose is checked so that if it is found in the site database the user go 
   on in another page
 * I coul ddo with conditionl with some form builder, but the problem is that these
   code to be searched will be hundred. Si i want to have the possiiblity to insert
   them all in a table(or whatever) and then the form will check inside the table.
 * because i have a form builder where i have to insert the condition for each value..
   if 0= then..if =1 then..And this is very long
 * IF the check would be in a table that is already populated would be easier for
   me
 * Thanks for help

Viewing 1 replies (of 1 total)

 *  [corrinarusso](https://wordpress.org/support/users/corrinarusso/)
 * (@corrinarusso)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/conditional-search-3/#post-17036658)
 * Hm. This is not a very scalable idea imo.
 * What business requirement specifically are you are trying to accomplish? Bc type
   of process is generally not sustainable.
 * You can use invitation codes, but they are linked with Registrations:
 * [https://en-ca.wordpress.org/plugins/cm-invitation-codes/](https://en-ca.wordpress.org/plugins/cm-invitation-codes/)
 * [https://wordpress.org/plugins/all-in-one-invite-codes/](https://wordpress.org/plugins/all-in-one-invite-codes/)
 * or paid versions:
 * [https://www.cminds.com/blog/wordpress/product-launch-invitation-code-content-access-plugin-wordpress/](https://www.cminds.com/blog/wordpress/product-launch-invitation-code-content-access-plugin-wordpress/)
 * That said, the answer to your question is answered here:
 * [https://processwire.com/talk/topic/24635-page-accessible-with-unique-one-time-access-codes/?do=findComment&comment=207922](https://processwire.com/talk/topic/24635-page-accessible-with-unique-one-time-access-codes/?do=findComment&comment=207922)
 * but you should try to consider Configuration over Customization.

Viewing 1 replies (of 1 total)

The topic ‘conditional search’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 1 reply
 * 3 participants
 * Last reply from: [corrinarusso](https://wordpress.org/support/users/corrinarusso/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/conditional-search-3/#post-17036658)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
