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
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

how to POST from dynamically populated dropdown box?

  • 09-03-2012 02: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