• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

cform type="flash" and javascript?!?!

New Here ,
Feb 04, 2008 Feb 04, 2008

Copy link to clipboard

Copied

In a cfform type="flash", can I used javascript within? For example, if I used

<cfinput name="button" type="button" value="I validate this information is correct and wish to submit for distribution" onSubmit="javascriptscriptcall()" >;
TOPICS
Advanced techniques

Views

587

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 04, 2008 Feb 04, 2008

Copy link to clipboard

Copied


<cfinput name="button" type="button" value="I validate this information is correct and wish to submit for distribution" onSubmit="javascriptscriptcall()" >;

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 04, 2008 Feb 04, 2008

Copy link to clipboard

Copied

What the hell? I corrected that and it is turning everything into html?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 04, 2008 Feb 04, 2008

Copy link to clipboard

Copied

> In a cfform type='flash', can I used javascript within? For example, if I used
> <cfinput name='button' type='submit' value='I validate this information is
> correct and wish to submit for distribution' onSubmit='javascriptscriptcall()'
> />

Did you try it? What happened?

--
Adam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 04, 2008 Feb 04, 2008

Copy link to clipboard

Copied

I tried this without successs.

&lt;script type=&quot;javascript&quot;&gt;

function redirectPage()
{
window.location = &quot;https://www.myesp.org/form.cfm?p=control_par.cfm?p=term_edit&quot;;
}
&lt;/script&gt;



&lt;cfinput name=&quot;cancel&quot; type=&quot;button&quot; value=&quot;Edit This Request&quot; onClick=&quot;redirectPage()&quot; /&gt;

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 04, 2008 Feb 04, 2008

Copy link to clipboard

Copied

why is the form turning my code in html?
&lt;script type=&quot;javascript&quot;&gt;

function redirectPage()
{
window.location = &quot;https://www.myesp.org/form.cfm?p=control_par.cfm?p=term_edit&quot;;
}
&lt;/script&gt;

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 04, 2008 Feb 04, 2008

Copy link to clipboard

Copied

LATEST
Why are quotes turning into &quote; on the board? I cannot show the correct code because the board is turning quotes into &quote....

Anyone else experiencing this?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation