Howdy!
CFMX on W2k - URL
If you try the "Register" link and view source, you will find that the all attributes, scripts and functions are there but they are not doing a thing ...
I am able to submit, process the form via action page leaving all fields blank. My action page checks for one field (safety measure) and stops the submition.
Normally, the natural behavior is to get a message box and stay within current form/page.
What could I be doing wrong?
Please excuse the lengthly post but I figure that posting the code may help.
Thaks;
Jose Lereborus
***************** CODE SNIPET **********************
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="body">
<cfform name="regUser" action="registerProcess.cfm?action=add" method="post">
<tr>
<td width="40%" valign="top" align="right">
Your Company ID &##149;
</td>
<td width="60%">
<cfinput class="inputbg" name="CompCode"
required="yes" message="Need a valid company code!"
size="20" maxlength="20">
</td>
</tr>
<tr>
<td width="40%" valign="top" align="right">
Your Name &##149;
</td>
<td valign="top" width="60%" align="left">
<cfinput class="inputbg" name="UserName" type="text"
size="35" maxlength="50" required="yes"
message="Please enter user name!">
</td>
</tr>
<tr>
<td width="40%" valign="top" align="right">
Your User Code &##149;
</td>
<td valign="top" width="60%" align="left">
<cfinput class="inputbg" name="UserCode" type="text"
size="20" maxlength="20" required="yes"
message="Please enter user code!">
</td>
</tr>
<tr>
<td valign="top" align="right" width="40%">
Your Email &##149;
</td>
<td valign="top" align="left" width="60%">
<cfinput class="inputbg" name="Email" type="text"
size="35" maxlength="50" required="yes" message="You
must enter a valid email address!">
</td>
</tr>
<tr>
<td valign="top" align="right" width="40%">
Re-Enter Email &##149;
</td>
<td valign="top" align="left" width="60%">
<cfinput class="inputbg" name="Email2" type="text"
size="35" maxlength="50" required="yes" message="You
must cofirm your email address!">
</td>
</tr>
<tr>
<td valign="top" align="right" width="40%">
Your Password &##149;
</td>
<td width="60%">
<cfinput class="inputbg" name="password1" type="password"
size="20" required="yes" message="You MUST enter a
password!">
</td>
</tr>
<tr>
<td valign="top" align="right" width="40%">
Re-Enter Password &##149;
</td>
<td width="60%">
<cfinput class="inputbg" name="password2"
type="password" size="20" required="yes"
message="Please re-enter your password!">
</td>
</tr>
<tr><td> </td><td> </td></tr>
<tr>
<td valign="top" align="center" width="100%" colspan="2">
<input type="checkbox" name="NotifyMe" value=""
checked> Please notify me of changes and/or
answers!
</td>
</tr>
<tr><td> </td><td> </td></tr>
<tr>
<td colspan="2" valign="top" align="center"
width="98%"> &##149;<font
size="2px"> Required fields</font>
</td>
</tr>
<tr><td> </td><td> </td></tr>
<tr>
<td align="center" colspan="2" valign="top">
<input type="submit" value=" Add User ">
<input type="reset" value=" Reset Form ">
</td>
</tr>
</table>
</cfform>
KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
CFMX on W2k - URL
If you try the "Register" link and view source, you will find that the all attributes, scripts and functions are there but they are not doing a thing ...
I am able to submit, process the form via action page leaving all fields blank. My action page checks for one field (safety measure) and stops the submition.
Normally, the natural behavior is to get a message box and stay within current form/page.
What could I be doing wrong?
Please excuse the lengthly post but I figure that posting the code may help.
Thaks;
Jose Lereborus
***************** CODE SNIPET **********************
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="body">
<cfform name="regUser" action="registerProcess.cfm?action=add" method="post">
<tr>
<td width="40%" valign="top" align="right">
Your Company ID &##149;
</td>
<td width="60%">
<cfinput class="inputbg" name="CompCode"
required="yes" message="Need a valid company code!"
size="20" maxlength="20">
</td>
</tr>
<tr>
<td width="40%" valign="top" align="right">
Your Name &##149;
</td>
<td valign="top" width="60%" align="left">
<cfinput class="inputbg" name="UserName" type="text"
size="35" maxlength="50" required="yes"
message="Please enter user name!">
</td>
</tr>
<tr>
<td width="40%" valign="top" align="right">
Your User Code &##149;
</td>
<td valign="top" width="60%" align="left">
<cfinput class="inputbg" name="UserCode" type="text"
size="20" maxlength="20" required="yes"
message="Please enter user code!">
</td>
</tr>
<tr>
<td valign="top" align="right" width="40%">
Your Email &##149;
</td>
<td valign="top" align="left" width="60%">
<cfinput class="inputbg" name="Email" type="text"
size="35" maxlength="50" required="yes" message="You
must enter a valid email address!">
</td>
</tr>
<tr>
<td valign="top" align="right" width="40%">
Re-Enter Email &##149;
</td>
<td valign="top" align="left" width="60%">
<cfinput class="inputbg" name="Email2" type="text"
size="35" maxlength="50" required="yes" message="You
must cofirm your email address!">
</td>
</tr>
<tr>
<td valign="top" align="right" width="40%">
Your Password &##149;
</td>
<td width="60%">
<cfinput class="inputbg" name="password1" type="password"
size="20" required="yes" message="You MUST enter a
password!">
</td>
</tr>
<tr>
<td valign="top" align="right" width="40%">
Re-Enter Password &##149;
</td>
<td width="60%">
<cfinput class="inputbg" name="password2"
type="password" size="20" required="yes"
message="Please re-enter your password!">
</td>
</tr>
<tr><td> </td><td> </td></tr>
<tr>
<td valign="top" align="center" width="100%" colspan="2">
<input type="checkbox" name="NotifyMe" value=""
checked> Please notify me of changes and/or
answers!
</td>
</tr>
<tr><td> </td><td> </td></tr>
<tr>
<td colspan="2" valign="top" align="center"
width="98%"> &##149;<font
size="2px"> Required fields</font>
</td>
</tr>
<tr><td> </td><td> </td></tr>
<tr>
<td align="center" colspan="2" valign="top">
<input type="submit" value=" Add User ">
<input type="reset" value=" Reset Form ">
</td>
</tr>
</table>
</cfform>
KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours