[ACFUG Discuss] Ajax.submitForm Conundrum

2008-01-15 Thread Peyton Todd
Hello all. Does anyone have a suggestion to make regarding the following quandary I find myself in? I'm trying to submit a form from inside a javascript function thus: function SubmitFmGenInfo145(action){ //form validation code (omitted here), then: ColdFusion.Ajax.submitForm('fmGenInfo',

re: [ACFUG Discuss] Ajax.submitForm Conundrum

2008-01-15 Thread Peyton Todd
ext 10 [EMAIL PROTECTED] Sent: Jan 15, 2008 3:08 PM To: Web Site discussion@acfug.org Subject: re: [ACFUG Discuss] Ajax.submitForm Conundrum AFAIK the action page you submit to in this case must return only a string and the callback function can only handle that one string. You can delimit

re[2]: [ACFUG Discuss] Ajax.submitForm Conundrum

2008-01-15 Thread Mischa Uppelschoten ext 10
in advance, : Peyton : -Original Message- : From: Mischa Uppelschoten ext 10 [EMAIL PROTECTED] : Sent: Jan 15, 2008 3:08 PM : To: Web Site discussion@acfug.org : Subject: re: [ACFUG Discuss] Ajax.submitForm Conundrum : : AFAIK the action page you submit to in this case must return only

Re: re[2]: [ACFUG Discuss] Ajax.submitForm Conundrum

2008-01-15 Thread Peyton Todd
? : Thanks in advance, : Peyton : -Original Message- : From: Mischa Uppelschoten ext 10 [EMAIL PROTECTED] : Sent: Jan 15, 2008 3:08 PM : To: Web Site discussion@acfug.org : Subject: re: [ACFUG Discuss] Ajax.submitForm Conundrum : : AFAIK the action page you submit to in this case must return

Re: re[2]: [ACFUG Discuss] Ajax.submitForm Conundrum

2008-01-15 Thread Peyton Todd
? : Thanks in advance, : Peyton : -Original Message- : From: Mischa Uppelschoten ext 10 [EMAIL PROTECTED] : Sent: Jan 15, 2008 3:08 PM : To: Web Site discussion@acfug.org : Subject: re: [ACFUG Discuss] Ajax.submitForm Conundrum : : AFAIK the action page you submit to in this case must return

[ACFUG Discuss] Ajax.submitForm Conundrum: Not Fixed After All

2008-01-15 Thread Peyton Todd
: [ACFUG Discuss] Ajax.submitForm Conundrum Many thanks. I tried your suggestion (i.e., I passed the string: action + '~' + 145' as a single parm to the callback function and broke it apart inside that function), and it worked beautifully! That is, both the database update and the duties

[ACFUG Discuss] Ajax.submitForm Conundrum: Problem Solved (No, really!)

2008-01-15 Thread Peyton Todd
7:46 PM To: discussion@acfug.org Subject: [ACFUG Discuss] Ajax.submitForm Conundrum: Not Fixed After All A thousand apologies. I was mistaken when I said that specifying a single parm in the callback function as opposed to two parms solved the problem. My only excuse is I had been working