Webmastersite.net
Register Log In

creating a new field
Custom field for submission form

Comments on creating a new field

trued
Experienced

Usergroup: Customer
Joined: Oct 10, 2003

Total Topics: 19
Total Comments: 69
trued
Posted Jul 26, 2005 - 5:43 PM:

I would like to add a few more fields to the suggest.php form.
SO I added a field and got the variable for it. I chose a link field. I want to use it for entering an address. SO the variable is {LINKADDRESS}.

I entered that variale in the display links template under the titleand added this html under the title of the suggest template.:


<tr>
<td class="labelscolumn"><span class="labels">Address:</span></td>
<td class="optionscolumn"><input type="text" name="address" size="{STANDARDSIZE}" value="{LINKADDRESS}"></td>
</tr>



This appears in the add new link form but it does not show in the displaylinks page of category. Im concerned that it might be the name="address" part of that code. I think it has to be defined somewhere. Am I missing something else or is that causing the problem?

I used the title code as a model.
trued
Experienced

Usergroup: Customer
Joined: Oct 10, 2003

Total Topics: 19
Total Comments: 69
trued
Posted Jul 26, 2005 - 6:28 PM:

Never mind Paul, I noticed that the script creates the fields in the templates on its own. I saw a duplicate address field.

Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.