Ok I am obviously not a whiz at html and definitely not frontpage. But I had the comments field working before on submit….and now it isn’t working. I just don’t know enough about html to figure it out. Also, on the “state” field, it uses dynamic text boxes, and I can’t figure out how to submit them (this is the big thing)! Please help! Here is the code, you should be able to just paste this into Frontpage:
[code=html]<HTML>
<HEAD>
<meta HTTP-EQUIV=”Content-Type” CONTENT=”text/html; charset=windows-1252″>
<meta http-equiv=”Content-Language” content=”en-us”>
<TITLE>New Page 1</TITLE>
</HEAD>
<BODY>
<H1>New Page 1</H1>
<HR>
<P>
This is an explanation of the purpose of the form …</P>
<FORM METHOD=”POST” ACTION=”–WEBBOT-SELF–“>
<!–webbot bot=”SaveResults” S-Email-Format=”TEXT/PRE” S-Email-Address=”[email protected]” B-Email-Label-Fields=”TRUE” B-Email-Subject-From-Field=”TRUE” S-Email-Subject=”LCCA Legal Nurse Certification Program” S-Builtin-Fields U-Confirmation-Url=”http://www.ecdteam.com/elprojects/LCCA Certified Legal Nurse/confirmation.html” –>
<P>
Please provide the following contact information:</P>
<BLOCKQUOTE>
<TABLE width=”413″>
<TR>
<TD ALIGN=”right”>
<p align=”left”>
<EM style=”font-style: normal; font-weight: 700″>First Name:</EM></TD>
<TD width=”311″>
<!–webbot bot=”Validation” s-display-name=”FirstName” s-data-type=”String” b-allow-letters=”TRUE” –><INPUT NAME=”Contact_FirstName” SIZE=40 tabindex=”1″>
</TD>
</TR>
<TR>
<TD ALIGN=”right”>
<p align=”left”>
<b>
<EM style=”font-style: normal”>Last Name:</EM></b></TD>
<TD width=”311″>
<!–webbot bot=”Validation” s-display-name=”LastName” s-data-type=”String” b-allow-letters=”TRUE” –><INPUT NAME=”Contact_LastName” SIZE=40 tabindex=”2″>
</TD>
</TR>
<TR>
<TD ALIGN=”right”>
<p align=”left”>
<EM style=”font-style: normal; font-weight: 700″>Middle Initial</EM><EM><span style=”font-style: normal; font-weight: 700″>
</span></EM>
<span style=”font-style: normal”>(optional):</TD>
</span>
<TD width=”311″>
<INPUT NAME=”Contact_MiddleInitial” SIZE=4 MAXLENGTH=4 tabindex=”3″></TD>
</TR>
</TABLE>
<TABLE id=”table1″ width=”413″>
<TR>
<TD ALIGN=”right” width=”63″>
<p align=”left”>
<b><em style=”font-style: normal”>Location:</em></b></TD>
<TD>
<font size=”2″ face=”Arial”>
</font> </TD>
</TR>
</TABLE>
<TABLE id=”table3″ width=”414″>
<TR>
<TD ALIGN=”right” width=”104″>
<p align=”left”>
<b><EM style=”font-style: normal”>Phone Number:</EM></b></TD>
<TD>
<INPUT NAME=”Contact_Phone” SIZE=15 MAXLENGTH=25 tabindex=”5″>
</TD>
</TR>
</TABLE>
<TABLE id=”table4″ width=”416″>
<TR>
<TD ALIGN=”right” width=”108″>
<p align=”left”>
<EM style=”font-style: normal; font-weight: 700″>E-mail </EM>
<EM style=”font-style: normal”>(optional):</EM></TD>
<TD>
<INPUT NAME=”Contact_Email” SIZE=25 tabindex=”6″>
</TD>
</TR>
</TABLE>
<TABLE id=”table5″ width=”235″>
<TR>
<TD ALIGN=”right”>
<p align=”left”>
<b><em style=”font-style: normal”>State:</em></b></TD>
<TD width=”118″>
<form name=”f1″>
<!–webbot bot=”Validation” s-display-name=”State” b-value-required=”TRUE” –><select onchange=”addMore(this)” name=”Contact_State” size=”1″ tabindex=”7″>
<option value=”0″ selected>(please select:)</option>
<option value=”1″>One
<option value=”2″>Two
<option value=”3″>Three
<option value=”4″>Four
<option value=”5″>Five
</select>
<script type=”text/javascript”>
function addMore(sel) {
var numAsked = sel.options[sel.selectedIndex].value * 1; // because it is a string and I want a number
// wipe out the ones that are there
theDiv = document.getElementById(“d1”);
theDiv.innerHTML = “”;
// build boxes
for (var i=1; i<=numAsked; i++) {
tb = document.createElement(“INPUT”);
tb.type = “text”;
tb.name = “State” + i;
theDiv.appendChild(tb);
}
}
</script>
<body onload=”addBoxes()” bgcolor=”#FFFFFF”>
<div id=”d1″>
</div>
</body>
</TABLE>
</BLOCKQUOTE>
<P>
<b>Comments</b> (optional):</P>
<BLOCKQUOTE>
<P>
<TEXTAREA NAME=”Comments” ROWS=5 COLS=35 tabindex=”8″></TEXTAREA>
</P>
</BLOCKQUOTE>
<p>
<INPUT TYPE=submit VALUE=”Submit Form” tabindex=”9″> </p>
</FORM>
<HR>
</BODY>
</HTML
>