Skip to main content
Participating Frequently
July 19, 2011
Question

Form Returns a 404 error

  • July 19, 2011
  • 1 reply
  • 2185 views

Can anyone help with this?

I have a simple form that allows you to do the first page and review your answers, but when trying to submit the form after review it gives you a 404 error, page not found. And I know that page is there, so I don't understand what is happening. I don't see anything wrong with the code. But here is the Submit portion of the code.

<div style="margin-left:280px;"><p><br />

      <button class="btnSubmit" type="submit" value="Submit" onClick="if(this.value == 'Submit') this.form.submit(); this. value = 'Please Wait...';">Submit >></button></div>

  </cfform>

</cfoutput>

Any help would be appreciated.

Thanks

Ruby

    This topic has been closed for replies.

    1 reply

    Owainnorth
    Inspiring
    July 19, 2011

    Well, does the page that the form is submitting to exist? I.e. the content of the action="" attribute? What's the content of that? And what's in the URL bar when you get the 404?

    jewel5312Author
    Participating Frequently
    July 19, 2011

    Yes, the page exists.

    <cfform action="subgroup3a.cfm" method="post" class="meetingform"><p>Please review the information below for accuracy.  If you need to make changes, click the appropriate section's <strong>Edit Info</strong> link below.</p>

    And when you hit the page you get to that url...

    Here is the URL of the form if that helps, and I can paste code in as well, if thats helps also.

    http://www.ascb.org/meetings/subgroup/SubGroup1old.cfm

    Let me know what else you might need.

    Thanks

    jewel5312Author
    Participating Frequently
    July 19, 2011

    Oh and this is what the page says when trying to submit after validation

    Sorry, the page you have requested was not found on the ASCB web site.

    The page you are looking for may have been removed, had its name changed, or is temporarily unavailable.


    To assist you in finding the content that you had origionally requested we have the following choices to assist you.

    If you are from the ASCB.org website:


    Please try the following:

    • Make sure that the web site address displayed in the address bar of your browser is spelled and formatted correctly.
    • If you reached this page by clicking a link, contact the Web Site Administrator to alert them that the link is incorrect.
    • Use the Search, listed above to locate similar pages on our site.