
Jason
Staff
/ Moderator

Jan 4, 2012, 10:59 AM
Post #2 of 3
(574 views)
Shortcut
|
|
Re: [pbsahost] Membership Signup page
[In reply to]
|
Can't Post
|
|
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 - Programmer interactivetools.com Hire me! Save time by getting our experts to help with your project. http://www.interactivetools.com/consulting/
|