Mehdi, Agha wrote:

> I have a CF Flash Form, which when I hit submit does a little 
> validation on form fields using ActionScript before it should submit 
> the form. The validation is working great except that I can't submit 
> it using AS. I have tried calling JS from AS and submitting the form 
> through that but that's not working either. My guess is that since 
> flash form is converted into a swf, it doesn't work like traditional 
> document.form.submit(); action. Sorry for posting CF Form questions here.
>
> What should I do?
>
In flash forms you have a specific custom action script function called 
submitForm() that will do this for you.  Depending on where you call it 
from, ie. from within a defined function, you may have to prefix it with 
_root.

Check out this URL in the MM livedocs regarding Custom Actionscript in 
CFForm : http://snipurl.com/CFFormCustomAS

Regards

Stephen



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to