In Reply To:
Um, I have no clue as to what you just said. I am not a coder so please don't assume that I know what these codes and stuff you refer to mean. I don't, so your conversation about those things might as well be in Greek or Cantonese, LOL.[/quote] All you have to do is create two new fields, just like you did for the phone (if you prefere this method) for First Name and Last Name like so:
Quote:
Column Name: First_Name
Column Type: VARCHAR
Column Index: None
Column Size: 255
Column Values:
Not Null: Yes
Default:
Form Display: First Name
Form Type: Text
Form Size: 20
Form Names:
Form Values:
Form Save Location:
File Save URL:
File Save Method: default
File Maximum Size:
Form Regex:
Search Weight: 1
Do the EXACT same thing for last name. Remember you add a column under Database -> Editor -> Table -> Properties -> (scroll down) -> Add Column
Then edit your template "include_form.html" under Build->User Templates ... JUST LIKE YOU DID for the phone number adding two new fields: for first name and last name.
to be more specific... replace this:
Code:
<div class="row clear"> <label for="Contact_Name" class="name">Contact Name:</label>
<div class="value">
<input type="text" id="Contact_Name" name="Contact_Name" value="<%if Contact_Name%><%escape_html Contact_Name%><%endif%>" class="text" />
</div>
</div>
with this:
Code:
<div class="row clear">
<label for="First_Name" class="name">First Name:</label>
<div class="value">
<input type="text" id="First_Name" name="First_Name" value="<%if First_Name%><%escape_html First_Name%><%endif%>" class="text" />
</div>
</div>
<div class="row clear">
<label for="Last_Name" class="name">Last Name:</label>
<div class="value">
<input type="text" id="Last_Name" name="Last_Name" value="<%if Last_Name%><%escape_html Last_Name%><%endif%>" class="text" />
</div>
</div>
and that should store the first name, and last name as separate fields. Remember the not_null set to Yes is what requires the user to enter the field.
In Reply To:
That won't work because then I'd be back to square one with it not being in alignment with my header and the directory. Putting it in the table was the only way I got it to line up. Do you have another idea?[/quote] I don't have time to go through the html right now, but I will get back to you on this...
Good luck with the first part,
- Jonathan