# Forms

**URL:** https://forum.kirupa.com/t/forms/34080
**Category:** Uncategorized
**Created:** [October 27, 2003, 11:23pm UTC](https://forum.kirupa.com/t/forms/34080 "2003-10-27T23:23:02Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Shrek](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@Shrek](https://forum.kirupa.com/u/Shrek)
#### Post date: [October 27, 2003, 11:23pm UTC](https://forum.kirupa.com/t/forms/34080/1 "2003-10-27T23:23:02Z")

</div>

[www.dgwh.com/~shrek/form.fla](http://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](mailto:shrekrules@hotmail.com). whats more i need it fast 😃 the tutorial by Pom ( [here](http://www.kirupa.com/developer/mx/components.htm) ) wasn’t too useful as it didn’t give enough examples. please help

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 28, 2003, 1:50am UTC](https://forum.kirupa.com/t/forms/34080/2 "2003-10-28T01:50:02Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 28, 2003, 11:06am UTC](https://forum.kirupa.com/t/forms/34080/3 "2003-10-28T11:06:14Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 28, 2003, 11:19am UTC](https://forum.kirupa.com/t/forms/34080/4 "2003-10-28T11:19:32Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 28, 2003, 11:21am UTC](https://forum.kirupa.com/t/forms/34080/5 "2003-10-28T11:21:13Z")

</div>

anyone care to help me with that then 🙂

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 28, 2003, 11:23am UTC](https://forum.kirupa.com/t/forms/34080/6 "2003-10-28T11:23:21Z")

</div>

[http://www.actionscript.org/tutorials/intermediate/php\_send\_mail/index.shtml](http://www.actionscript.org/tutorials/intermediate/php_send_mail/index.shtml)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 28, 2003, 11:28am UTC](https://forum.kirupa.com/t/forms/34080/7 "2003-10-28T11:28:20Z")

</div>

cheers 🙂 ill get working on that 😃

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 28, 2003, 11:58am UTC](https://forum.kirupa.com/t/forms/34080/8 "2003-10-28T11:58:20Z")

</div>

> \*Action Script from form tutorial ( [here](http://www.kirupa.com/developer/mx/components.htm) ) \*  
> \*\*  
> // 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/

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 28, 2003, 12:38pm UTC](https://forum.kirupa.com/t/forms/34080/9 "2003-10-28T12:38:25Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 28, 2003, 1:01pm UTC](https://forum.kirupa.com/t/forms/34080/10 "2003-10-28T13:01:31Z")

</div>

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](http://www.dgwh.com/~shrek/e03.html)  
and [www.dgwh.com/~shrek/e03.fla](http://www.dgwh.com/~shrek/e03.fla)  
and [www.dgwh.com/~shrek/e03.swf](http://www.dgwh.com/~shrek/e03.swf)  
and [www.dgwh.com/~shrek/mailer.php3](http://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](mailto:shrekrules@hotmail.com)) and the ordered\_mc page does not display the variables ☹ please help
