Copy link to clipboard
Copied
Hello,
I have a simple form that people use to vote with. It has two questions, each with 3 radio buttons. i.e.:
What is your favorite color?
Red
Blue
Green
What is your favorite pet?
Dog
Cat
Fish
I have no trouble building the form itself but how do I get the data? I know I can use the "mailto" function on the submit button but do I really want to sort through and count 100 different emails? I have searched and read TONS of different turtorials on this and can't figure out how to collect the votes.
Can someone please point me in the correct direction? Should I be using PHP, ASP???
I admit, while I can build the form, I have never delved into the other side of this so I am LOST!
I posted this elsewhere and someone suggested to post it here so here I am. I have since read that ASP is dying so I guess I won't go that route.
Thank you.
Copy link to clipboard
Copied
Can someone please point me in the correct direction? Should I be using PHP, ASP???
Yes, you'll need a server-side script (PHP, ASP, ColdFusion, ...) to process the form data and send the results to you:
<form id="survey" name="survey" method="post" action="process_survey.php">
/form>
Of course, it implies your server must support a server-side technology
Copy link to clipboard
Copied
Yes, you'll need a server-side script (PHP, ASP, ColdFusion, ...) to process the form data and send the results to you:
<form id="survey" name="survey" method="post" action="process_survey.php">
/form>
I HAVE that information in there, someone also mentioned making sure that my file extention is php. Is that for BOTH files (the form and the form_process) or just the form_process?
Copy link to clipboard
Copied
Only pages that contain php code need to have a php extension. That means the page with the processing script for sure. It doesn't exclude the form page but I would guess that you have not added any php script to the form page itself. If that's the case, then it does not need a php extension. If it is not working, then you need to provide more details, starting with any error message you are getting. You should also post the script.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more