Membership Signup page

Re: [pbsahost] Membership Signup page

By Jason - January 4, 2012

Hi Jeremy,

If you enter in a value for "title" and hit submit, you'll see the membership type have no values. The reason for this is that the name "title" is also a field in your membership type section. This is triggering off the automatic search feature of getRecords(). Since there will be no membership type records with a title matching what the user entered, no values appear.

You can stop this from happening by adding the "allowSearch" => false, option to getRecords like this:

// load records
list($membership_typesRecords, $membership_typesMetaData) = getRecords(array(
'tableName' => 'membership_types',
'where' => 'registration=1',
'allowSearch' => false,
));


That should take care of the problem for you.

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Membership Signup page

By pbsahost - January 4, 2012

Thanks Jason,

That worked great. I knew it had to be something simple. Have a great day!

Jeremy