Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author xnau webdesign

    (@xnau)

    Everything looks right. Perhaps you should check the “approved” value in records that you have not approved and are appearing on the list, just to make sure that’s correct.

    Thread Starter mattbox

    (@mattbox)

    I did a test record and it went straight on the list before I could approve it. am I using the & too many times?

    Plugin Author xnau webdesign

    (@xnau)

    No, I mean to look at the data in the record to see what’s in there.

    Your code is correct, that’s why I’m suggesting you look at the data.

    Also, make sure that the approved field does not have “yes” as the default value.

    Maybe related?

    I have two administrative fields, admin_active (defaults to yes) and admin_approved (defaults to no). Neither of these fields is on my sign-up form.

    I use the sign-up form to create a new participant.

    On the List Participants screen it shows Active Listing as “yes” and Approved as “no” (as is appropriate)

    However, when I *edit* that record, both checkboxes are unchecked. If I then click [Submit] (without changing anything), they are now both showing as “no” in the list.

    Thread Starter mattbox

    (@mattbox)

    Hi,

    I have tested again this morning with 2 records, both have not been approved but both are showing in my list.

    default value is NO so I have no idea why this is not working.

    I used to use it fine but was getting a lot of spam so I put a capcha on there so thought there was no need to have the approved option on there but now I need it to control how many entries I have and cant get it to work.

    Please help!

    Plugin Author xnau webdesign

    (@xnau)

    the default value is not automatically stored with each record, so to filter out unapproved records, you need to test for the absence of the approved value: “approved!yes”

    Thread Starter mattbox

    (@mattbox)

    Hi

    I really appreciate your help but that doesn’t make sense to me at all!

    The default value is NO. when I open up the record to edit the approved box is not ticked.

    So basically the approved function isn’t doing anything.

    I don’t want drivers to be added to the drivers list until I have checked the details are correct and then when I tick ‘approved’ box I want it to then show on the drivers list.

    This always worked fine, Maybe I should do an update on the plug in and re try?

    Thread Starter mattbox

    (@mattbox)

    Hi

    I noticed one of the days was working (sunday) and the other (Saturday) wasn’t, the code looked identical. I copied the Sunday code and pasted where the Saturday one was and changed Sunday to Saturday and its working!

    No idea what the issue was but seems OK now so thanks for your help you can now close this thread.

    Thanks

    Matt

    Plugin Author xnau webdesign

    (@xnau)

    I’m glad you got it working…but just to be clear about how this works, the default value for fields that are not present in the signup form are not saved with new records. That is why you must use a filter that tests for the absence of the value.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘approving signups’ is closed to new replies.