Skip to main content
Inspiring
February 19, 2009
Question

ColdFusion.Ajax.submitForm Return a Value

  • February 19, 2009
  • 1 reply
  • 516 views
The below code. I am trying is to pass a value to a CFC and return a 0 or as 1.

But the response back with Asynch ColdFusion.Ajax.submitForm is returning a bunch of javascript code and other stuff. All I am expecting is just one value of either a 0 or 1. Can some one look at the below and tell me what I am doing wrong. This form submits to itself then I validate an input form. If its there, I pass the value to cfc
    This topic has been closed for replies.

    1 reply

    eziokoloAuthor
    Inspiring
    February 19, 2009
    Obviously it looks like you can not have <cfsetting enablecfoutputonly="yes"> set in a cfm page that has Bind values to a CFC, the behavior is unpredictable. I had to create an action page to do the Asynch submit now it is returning a blank popup OK form. The problem is still there and not returning any value atall.