I have a situation where a CFDIV bind expression needs to complete before the 
cfform click takes effect. My assumption was that the Bind could set a hidden 
variable that would trigger a CFINPUT error routine when the cfform's button 
was pressed. But it turns out that the variable doe not update in time for this 
to work.

Is there any way to tell the submit button to wait for the CFDIV bind to 
complete?

Here's a code fragment to show what I was trying to do.

<cfinput name="Password" type="password" tabindex="12" value="#DefPassword#" 
size="20" required="yes" message="Please enter your Password">

<cfdiv style="float:right; width: 100px;" ID="Userdiv" 
                    
bind="url:CheckLogon2.cfm?Email={Email}&Userid={Userid}&Password={Password}" 
bindonload="No">&nbsp;</cfdiv>

<cfinput type="hidden" value="1" range="1,1" message="This Password is not 
valid for the Email Address or Userid you entered" name="LogonError1" 
id="LogonError1">

<cfinput name="Logon" type="submit" tabindex="13" value="Logon" class="Button">

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353973
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to