Jump to content

Problem In Form - How To Process The Value In Array


VikasRai

Recommended Posts

Hi all, I have created a PHP form and all the values are processing fine and coming in Email via send.php , the only problem is with the multiple choice field , I dont understand how to get the values in array and process them .

 

Select your destination field has multiple choices and I want all the cities selected to be sent in email

 

Page Link : http://www.indiatravelvacation.com/designyourtrip.php

 

Looking forward for your help on this

designyourtrip.php

send-mail-design.php

Based on your existing code I would say that it is working as designed. You are using javascript to take a drop down list and use that to add li's to an unordered list. An unordered list is not a form element, thus when your form is submitted, the ul is not sent. You probably want an extra routine that copies the li's to a hidden form element which has an array structure. In short, you need additional javascript to continue with the design you have now.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.