Yeah, your right, I see what Pete is after now. The easiest way is to use
cfform otherwise you need to use the ColdFusion JavaScript functions.
I misread and thought you wanted a form on the main page to submit to a
cfwindow.
On Jan 8, 2008 8:01 PM, Azadi Saryev [EMAIL PROTECTED] wrote:
iirc,
OK, followup to my own question.
The form that I am displaying with cfwindow has date fields. I always like
to give my users a date picker, and I generally use Mishoo's excellent DHTML
calendar -- http://www.dynarch.com/projects/calendar/ However, I was unable
to get this to work properly when
I'd like to add some quick comments.
a) my approach is done when this particular form action usually also have some
impact on the Main/Parent window hence justification of reloading this window,
otherwise, the cost of reloading the Main window does not seem to be necessary
unless not much
I would like to have a small form (normal HTML form) that is contained
within an AJAX cfwindow submit to that window so that it just loads the form
submission results page that popup window and not the parent page. Is this
possible?
Thanks
Pete
I'm not sure if I can understand your question. Is it something like this
cfif isdefined(FORM.Send2Pop)
-- pop up a small window...
cfwindow...
source=popMeUp.cfm/
/cfif
-- main window
cfwindow...
...
cfform action=#CGI.script_name# method=post
e1
e2...
input type=submit
Pete,
You mean something like this:
html
head
body
script type=text/javascript
function submitPoll() {
ColdFusion.navigate(pollEcho.cfm,pollResults,,,POST,pollForm);
ColdFusion.Window.show(pollResults);
}
/script
form name=pollForm id=pollForm
input type=text name=echoMe
input
iirc, where your form in a cfwindow submits to (that cfwindow or the
master page) depends on if you use form ... or cfform ...
hth
---
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com
Pete Ruckelshaus wrote:
I would like to have a small form (normal HTML form) that is contained
within an
7 matches
Mail list logo