# Validating a form

**URL:** <https://forum.kirupa.com/t/validating-a-form/181544>\
**Category:** Uncategorized\
**Created:** [March 10, 2006, 6:30am UTC](https://forum.kirupa.com/t/validating-a-form/181544 "2006-03-10T06:30:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fadzayi](https://avatars.discourse-cdn.com/v4/letter/f/c57346/32.png) [@fadzayi](https://forum.kirupa.com/u/fadzayi)\
**Post date:** [March 10, 2006, 6:30am UTC](https://forum.kirupa.com/t/validating-a-form/181544/1 "2006-03-10T06:30:17Z")

</div>

hie

so i do my form hey and everything is working fine, but i then realise that my form is not validating, so i was wondering if someone could help me with the script that will validate my form. below is the script i’ve used on my form.

on the form movie clip i put this script:  
[COLOR=red]onClipEvent(data){  
\_root.nextFrame();  
}[/COLOR]  
[COLOR=#ff0000][/COLOR]  
[COLOR=black]and on the submit button i put this script:[/COLOR]  
[COLOR=red]on (release) {  
form.loadVariables(“email.php”, “POST”);  
}[/COLOR]  
[COLOR=#ff0000][/COLOR]  
[COLOR=black]oh and also i dont know the script for a rest button i also need help with that.[/COLOR]

thanks guys
