Great, thanx for the explanation. I use firebug for CSS and errors but hadn't
understood how the other tabs worked.
When I click on the call and then open the response tab, here is what it shows
(I can deduce what parts of it are there for but this is a bit beyond what I
have done before):
<script type="text/javascript">/* <![CDATA[ */
ColdFusion.Ajax.checkImportedTag('CFFORM');
/* ]]> */</script>
<script type="text/javascript">/* <![CDATA[ */
if (window.ColdFusion) ColdFusion.required['AccessID']=true;
/* ]]> */</script>
<script type="text/javascript">/* <![CDATA[ */
if (window.ColdFusion) ColdFusion.required['Password']=true;
/* ]]> */</script>
<script type="text/javascript">/* <![CDATA[ */
ColdFusion.Ajax.checkImportedTag('CFFORM');
/* ]]> */</script>
<script type="text/javascript">
<!--
_CF_checkLoginForm = function(_CF_this)
{
//reset on submit
_CF_error_exists = false;
_CF_error_messages = new Array();
_CF_error_fields = new Object();
_CF_FirstErrorField = null;
//form element AccessID required check
if( _CF_hasValue(_CF_this['AccessID'], "TEXT", false ) )
{
//form element AccessID 'RANGE' validation checks
if (!_CF_checkrange(_CF_this['AccessID'].value, 1000.0,4999.0,
true))
{
_CF_onError(_CF_this, "AccessID", _CF_this['AccessID'].value,
"A valid Access ID is required");
_CF_error_exists = true;
}
}else {
_CF_onError(_CF_this, "AccessID", _CF_this['AccessID'].value, "A
valid Access ID is required");
_CF_error_exists = true;
}
//form element Password required check
if( !_CF_hasValue(_CF_this['Password'], "PASSWORD", false ) )
{
_CF_onError(_CF_this, "Password", _CF_this['Password'].value, "A
password is required");
_CF_error_exists = true;
}
//display error messages and return success
if( _CF_error_exists )
{
if( _CF_error_messages.length > 0 )
{
// show alert() message
_CF_onErrorAlert(_CF_error_messages);
// set focus to first form error, if the field supports js
focus().
if( _CF_this[_CF_FirstErrorField].type == "text" )
{ _CF_this[_CF_FirstErrorField].focus(); }
}
return false;
}else {
return true;
}
}
//-->
</script>
<script type="text/javascript">/* <![CDATA[ */
ColdFusion.Event.registerOnLoad(LoginInit,{_cf_containerId:'Login_body'},false,true);
/* ]]> */</script>
<div id="LoginDiv">
<p>Please identify yourself, then press "Submit"</p>
<form name="LoginForm" id="LoginForm"
action="/WGC-CF/MemberLogin.cfm?_cf_containerId=Login_body&_cf_nodebug=true&_cf_nocache=true&_cf_clientid=843C53D8689D544653CE2DD24EE6081A&_cf_rc=1"
method="post" onsubmit="return ColdFusion.Ajax.checkForm(this,
_CF_checkLoginForm,'Login_body')">
<table id="LoginBox">
<tr height="21">
<td width="100"><b>Access ID</b></td>
<td width="100"><input name="AccessID" type="text" id="AccessID"
size="8" /></td>
</tr>
<tr height="21">
<td><b>Password</b></td>
<td><input name="Password" id="Password" type="password" size="8"
/></td>
</tr>
<tr height="21">
<td colspan="2"><span class="fineprint">Remember me on this
computer</span>
<input type="checkbox" name="Remember" value="Yes" ></td>
</tr>
</table>
<input name="Submit" id="Submit" type="image" value="Submit"
src="../Buttons/MSubmit.png" />
</form>
</div>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337728
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm