how do i have this not show up everytime in the add_forum?
i can not seam to find where it is located, i just want a blank feild.
and at the same time i want to make the state feild to say NY all the time
how do i have this not show up everytime in the add_forum?
i can not seam to find where it is located, i just want a blank feild.
and at the same time i want to make the state feild to say NY all the time
edit the add html file and change the "value" tags
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.
the value is <%url%>....
any ideas?Code:<tr class=tbl_normal> <td align="left" valign="top" width="30%"><b>Web Site</b></td> <td align="left" valign="top" width="70%"><input class=text3 type=text name=url size=40 value="<%url%>"></td> </tr>
I am not sure why dody coded it this way but he used <%variables%> in the add_form.html page as follows:Originally posted by persut
the value is <%url%>....
I would have used the following:Code:<tr class="tbl_normal"> <td>Url</td> <td><input class=text3 type=text name=url size=40 value="<%url%>"></td> </tr>
He actually put it in the add.php at about line 74:Code:<tr class="tbl_normal"> <td>Url</td> <td><input class=text3 type=text name=url size=40 value="http://"></td> </tr>
It just doesn't make sense to add it there.Code:if(empty($url)) $url = "http://";
For your state you could use:
Code:<tr class="tbl_normal"> <td>state</td> <td><input class=text3 type=text name=state size=2 value="NJ"></td> </tr>
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.
update on the thread i got it to work a while ago, i guess the value feilds dont mean anything in the add forms.
just courious y dody put them in if its not needed???
actually, the value field does work and is quite valuable as a way to populate common information in the add_form file. However, most of them will be blank. which does not hurt anything and allows you to use the same html by a simple copy and paste into the modify_form ( or most of it, anyway ).
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.