Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Form Post Help

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #182196
    TWG
    Participant

    I’ve got a form that has 4 checkboxes. The forth checkbox is an Other field that has a textbox next to it. I’m trying to figure out how I can tell the email to include the textbox if the other checkbox is checked.

    Can anyone help?

    #182231
    __
    Participant

    Assuming all of your inputs have names,

    if( $_POST['otherCheckbox'] ){
        /* do something with */ $_POST['otherTextarea'];
    }
    

    Beyond that, we’d need to see some code.

    #182293
    TWG
    Participant

    I will post up some code tomorrow as soon as I get back to my office. I tried something similar to that and had no success.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.