• I am unable to submit the form after filling out all the necessary information. I’ve tested forms on other pages, such as:

    https://altahcs.com/get-started-today/
    https://altahcs.com/request-for-services-prp/
    https://altahcs.com/live-scan-application-form/

    And they all submit a form to my email immediately, so I don’t know if it’s an issue with a plugin or theme. I’ve looked into the PHP code of all four of these pages but there seem to be few differences between the page not working versus the pages that do, and the differences there are seem to be in the JavaScript section, which I can’t understand.

    This particular page I’m having issues with is all in PHP so there is nothing I can alter about it on the actual WordPress site.

    Any help would be appreciated!

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Dude – that is one monster form.

    I’m not sure what you mean by the ‘submit button is not working’.
    It is working.
    Do you mean it won’t submit the form ?
    I tried several times and could never get it to validate.

    I strongly recommend breaking this up in several pages.
    Secondly, I’m going to assume you know the risk and laws involved in collecting and storing such sensitive data.

    To answer your question, I would start by fixing all your errors on pageload :

    View post on imgur.com


    You have syntax errors, as well as 404 errors.

    Thread Starter hannahalta

    (@hannahalta)

    @corrinarusso – Yes, when I fill out all the information and click ‘Submit’ nothing happens, it won’t submit the form.

    And I understand the importance of collecting sensitive data, I will be removing the SSN portion as per my employer’s request.

    I’m not sure if my employer will approve me breaking the page up into multiple pages, but I will ask.

    Is there a way I can safely post the PHP code for this page? I see the same errors on the pageload for this page on other pages, but on other pages I am able to submit the form [such as https://altahcs.com/switch-provider-form/%5D so I wonder if the problem is in the actual code itself.

    • This reply was modified 3 years, 11 months ago by hannahalta.

    What plugin have you used to build the form out ?
    If you haven’t use WordPress, then it’s not in scope to provide support in these forums.

    You can upload your code to pastebin :
    https://pastebin.com/
    Then ask for help on stackoverflow or reddit groups.

    Thread Starter hannahalta

    (@hannahalta)

    @corinnarusso – I didn’t actually create the form, this was created by an outside web developer company and I noticed there was an error submitting the form a while after they had finished with the website. So I am not sure what plugin was used to create it.

    We currently have the plugins Classic Editor, Contact Form 7, Advanced Editor Tools and Advanced Custom Fields Pro installed, as well as other plugins but I don’t think they are relevant to this (Security, Hide Login, etc.)

    Do you believe there would be anything in the PHP code that would compromise our site’s safety if I uploaded it to pastebin? If not I will definitely take your advice and ask stackoverflow and reddit.

    • This reply was modified 3 years, 11 months ago by hannahalta.

    Just check the plugins for ACF and Contact Form 7.

    You can paste in the php if you make sure that there is no connection strings included, or processing functions, or require files.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Submit Button Not Working on Only One Form’ is closed to new replies.