Skip to main content
2Charlie
Inspiring
March 17, 2016
Answered

How to submit a form to itself?

  • March 17, 2016
  • 3 replies
  • 3874 views

I have a cfform on the page. When I submit the form, I want to submit it to self. Another word, I do not want to submit to another .cfm page. So, how do I do it?

    This topic has been closed for replies.
    Correct answer Carl Von Stetten

    If you omit the action attribute, it should submit to itself.

    3 replies

    BKBK
    Adobe Expert
    March 17, 2016

    Old school: action="#CGI.SCRIPT_NAME#"

    Carl Von Stetten
    Carl Von StettenCorrect answer
    Brainiac
    March 17, 2016

    If you omit the action attribute, it should submit to itself.

    2Charlie
    2CharlieAuthor
    Inspiring
    March 17, 2016

    Cool! I'll test that tomorrow. Does that apply to all browsers or only certain browser?

    Carl Von Stetten
    Brainiac
    March 17, 2016

    I think that's rudimentary <form> behavior, so it should work in all browsers.

    Brainiac
    March 17, 2016

    It's dated but I think it still applies. I wrote a tutorial on this several years back: EasyCFM.COM - View Tutorial

    Hope this helps.