I'm trying to build a webpage that has a form for a method of contact - I would like to get this working before I publish the site. I order to build the form, I was directed to this site: http://www.numencommunications.com/building-a-simple-form/
While all the steps went smoothly, I chose "Export release build" at the end of the tutorial. I had followed all of the steps exactly as written on three separate occasions. Every time, a warning popped up saying this: 'The prefix 'mx' for element 'mx:HTTPService' is not bound.'
What can I do to correct this as I would desperately like to have a form on my website and can't publish it to the web until this form is working?
Thank you so much for your help! I appreciate any and all suggestions.
If you copy/pasted the code, try to delete the ending tag "</mx:HTTPService>" and the beggining of the tag "<mx:HTTPService" and retype them manually again. Use code hinting if avaiable.
That should do the trick, as it worked for me!
That worked perfectly... but now the submit button won't work. Haha, I just seem to be having so much trouble with this!
Thanks so much!
Give the button an onClick attribute. To do that you can go to the design mode, select the button and use the form on the right menu. In this case you would be using "emailService.send();" as the onclick attribute, or whatever id you gave to the httpservice.
Hope that helps!