Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

how to POST from dynamically populated dropdown box?

Options
  • 09-03-2012 2:43pm
    #1
    Closed Accounts Posts: 5,824 ✭✭✭


    Hi guys, small question regarding the code below.

    Ive had this working before I added in to populate dropdown boxes using the js to dynamically populate depending on selection.

    the dropdown boxes work perfect.
    the email function works fine too if i dont include these
    $department = $_POST; // required
    $machine = $_POST; // required

    If i remove them from the error check
    !isset($_POST) ||
    !isset($_POST) ||

    the email sends fine, but the fields are blank for these 2.

    It doesnt seem to pick up the selection.

    Anyone able to shed some light on it?

    any help would be great!



    edit:

    seems I have a few capital letters in variable names that were throwing it off...

    solved now!


Advertisement