Skip to main content
Participating Frequently
October 25, 2011
Question

is there a way to communicate between cfinput type=submit and input type=submit or button

  • October 25, 2011
  • 1 reply
  • 1547 views

Hi,

   How to call a cfinput type="submit" by a normal button?

In javascript, i tried document.cfformName.submitButtonName. The result is undefined.

Is there any way to communicate between these two?normal input button and cfinput type=submit.

I just want that, when i click my button, it will simultaneously click the button also from cfform flash.

Anyway, these two buttons are in separate file.

Regards,

Jeff

This topic has been closed for replies.

1 reply

jepoy1Author
Participating Frequently
October 28, 2011

Hi,

   Anyone out there willing to help me.

 

  <cfform format="flash" name="form_flash">

      <cfinput type="submit" name="btnFlash">

</cfform>

<input type="button" value="BUTTON" onclick="chkFlash();">

<script>

     function chkFlash()

     {

          document.form_flash.btnFlash.click();

      }

</script>

This is not a working sample. I want to ask help if there any way to communicate with the cfform flash?Currently, it is undefined with function chkFlash.

Regards,

Jeff