• Resolved mattdalli71288

    (@mattdalli71288)


    Hi xnau,

    Thanks a lot for the plugin. I just ran into a problem which I can’t seem to solve. I have this page where people will sign-up https://news.transport.gov.mt/mailing-list-subscription/

    After they do, they will be redirected to a thank you page and their info would be saved in the database. This was working for quite a while as I have 30 entries but now, after I press the sign-up button, it remains on the same page without any errors and the data is not saved.

    I tried putting a duplicate email and it generates the correct error so I assume the connection with the database is working as it should.

    Any ideas, please?

    Thanks!

    PS: I’ve also deactivated, uninstalled and re-installed and re-activated the plugin but that didn’t seem to help. The theme that I am running is called Enfold.

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

    (@xnau)

    What is the validation you have set on the “mobile” field? It looks like the mobile field is not validating, but no error message is showing.

    Thread Starter mattdalli71288

    (@mattdalli71288)

    Hi Xnau,

    The Form Element is set to Numeric and the Regex Validation is as follows: ^[0-9]{8}$

    Also, how many users can the plugin hold please? As it seems that as soon as I hit 30 users, no more have signed up.

    Plugin Author xnau webdesign

    (@xnau)

    There’s no limit, but if they can’t complete the form, of course no more will come in.

    First, you should tell your users what to type in to the field so they can get it right. I don’t know why the validation message isn’t showing yet.

    Thread Starter mattdalli71288

    (@mattdalli71288)

    Thanks for the info about the limitation xnau.

    I’ll make some help text and will see if that will work. Very weird :/

    @mattdalli71288 I can verify there is no limit, I have approx 75 entries.

    Question for you, why do you have the Form Element set to Numeric for mobile?

    I have mine set to Text-Line and regex/match with #^[0-9]{3}-[0-9]{3}-[0-9]{4}$#i as the validation key.

    In my help box I have 123-456-7890, this gives people and example how they have to enter there phone number.

    Hope that helps.

    I forgot to mention, my regex/match is setup for US phone numbers. You may have to edit the validation key to your phone number prefix.

    Thread Starter mattdalli71288

    (@mattdalli71288)

    Hi @mdykhouse,

    Thanks a lot for your input appreciate. Yes exactly, my regex/match needs to be different to yours.

    I don’t know if you might be of help with this but this is how it needs to be

    First 2 numbers have to be either 77 or 79 or 99 then followed with any other 6 digits (total of 8 numbers)

    Thanks.

    Your regex should be #^[7-9]{2}-[0-9]{6}$#i

    That would check against the format,

    77-123456
    78-123456
    79-123456

    Thread Starter mattdalli71288

    (@mattdalli71288)

    Thanks a lot @mdykhouse and @xnau for your help, it’s working perfectly now. Error being displayed accordingly and accepting new submissions.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Remains on Same Page and Does Not Add Participant’ is closed to new replies.