Forms

www.dgwh.com/~shrek/form.fla

i want the scroll bar to move all the components, the reset button to work and the submit button to submit all those variables from the input boxes into an email to shrekrules@hotmail.com. whats more i need it fast :smiley: the tutorial by Pom ( here ) wasn’t too useful as it didn’t give enough examples. please help

delete the order_mc from your stage
put a scrollpane component
type in order_mc in the content area (properties) of the scroll pane component.

but what about the submit and reset button? how do i make the submit button take the variables from the form and email them?

You’ll need a server side script like PHP or ASP to handle that part.

anyone care to help me with that then :slight_smile:

http://www.actionscript.org/tutorials/intermediate/php_send_mail/index.shtml

cheers :slight_smile: ill get working on that :smiley:

*Action Script from form tutorial ( here ) *
**
// 1. Radion buttons
// -----------------

// The display function
function radioDisplay (component) {
radio = component.getValue() ;
}
// We assign this function to the group gender
gender.setChangeHandler (“radioDisplay”) ;**

What i don’t get is how do you have to sets of text buttons? and also, for the reset button, how do you clear a text box input? (i got the reset button working for the radio buttons)

Im getting there \o/

also, how do i make 1 set of radio buttons allow more than one to be selected if u get me? so you can select all of them if you wanted to?

ok, the select button problem is solved, just make all the radio buttons a different group. i have uploaded the full movie to:
www.dgwh.com/~shrek/e03.html
and www.dgwh.com/~shrek/e03.fla
and www.dgwh.com/~shrek/e03.swf
and www.dgwh.com/~shrek/mailer.php3

to get to the order page, click on the grey box on the left, (that wont be in the final movie… :))

the submit button doesnt email me (shrekrules@hotmail.com) and the ordered_mc page does not display the variables :frowning: please help