Ask a Question related to Macromedia ColdFusion, Design and Development.
-
_aggregate #1
onChange action
What I have is a form. When the user clicks on a name I want to go to another page which I can then display userinfo. I basically want to do what a submit button do with out having to use one.
_aggregate Guest
-
onChange not supported
The onChange event is not supported for text inputs in property inspectors. Is this correct? Why? -
<cfgrid onchange
Hi, Is it possible to set a cfinput using the cfgrind onchange - not using bind {}. I assume using the onchange event will work, but I don't know... -
Onchange
Hi, I have form with 2 text boxes and couple radio button. I want a second text box should automatically display data bases on what is entered in... -
onChange event handler
I want to check if any form objects have been changed and if so, popup an alert box. I have a simple Javascript function that displays the alert... -
cfselect onChange problem
I am in the process off convertir all my form to cfform and here is my problem : <cfselect name="abc" onChange="document.form1.action='abc.cfm';... -
Fernis #2
Re: onChange action
Umm, how can you enter the name, if onClick already submits the page? Oh well,
maybe you're using some iframe technique. Anyway, sounds strange.
You can always assign form an id, and submit it using Javascript.
<form id="myForm" method="post" action="myactionpage.cfm">
Name: <input type="text" name="username"
onClick="document.getElementById('myForm').submit( );">
<br>
<input type="submit" value="Proceed">
</form>
Usability-wise, this doesn't make any sense, but that's what you asked for...
Use <form target="frameName"... if you want to submit the form into another
window/frame.
Fernis Guest
-
_aggregate #3
Re: onChange action
What I'm trying to do is I have a form that has user information, however I
dont know until the user tells me who. My idea behind this would have a form
with all the fields read only except for the user name. When they enter in the
username then I could querry the database and return the users info. Is there
a better way doing this?
_aggregate Guest
-
JMGibson3 #4
Re: onChange action
Sounds like you might be describing a drop down list and selecting("clicking")
on one of the items. If so you want the OnChange event:
<SELECT CLASS=DataEntryTextNormal NAME="Initials"
onChange="this.form.submit(); return true;">
which also works for radios and checks. It will also work for text fields,
however, for them, the browser won't know they've changed until you refocus
(tab, mouse-click, etc.) to another field.
JMGibson3 Guest



Reply With Quote

