Here's the problem i have a text input type on my form
that i converted to a textarea type as i wanted more room
to input text but i am having the following issues
(1) The session variable no longer works ie when you navigate back the text is gone (it remained present in the textbox)
(2)the max option i set no longer works, it is set to 100
but now it is inactive (this also worked when i used the text box)
Tks
Gaz
------------------- Before Change ---------------------
<tr>
<td colspan="2" class="labelcell"><label for = "extra_location_details"> Additional Location Details:</label></td>
<td colspan="2" class="fieldcell2"><input type="text" name="extra_location_details" size="100" maxlength="100"
value="<?php if(isset($_SESSION['extra_location_details'])) echo stripslashes($_SESSION['extra_location_details']);?>"/>
</td>
</tr>
------------------- After Change ---------------------
<tr>
<td colspan="2" class="labelcell"><label for = "extra_location_details"> Additional Location Details:</label></td>
<td colspan="2" class="fieldcell2"><textarea name="extra_location_details" rows="3" cols="20" size="100" maxlength="100"
value="<?php if(isset($_SESSION['extra_location_details'])) echo stripslashes($_SESSION['extra_location_details']);?>"></textarea>
</td>
</tr>
that i converted to a textarea type as i wanted more room
to input text but i am having the following issues
(1) The session variable no longer works ie when you navigate back the text is gone (it remained present in the textbox)
(2)the max option i set no longer works, it is set to 100
but now it is inactive (this also worked when i used the text box)
Tks
Gaz
------------------- Before Change ---------------------
<tr>
<td colspan="2" class="labelcell"><label for = "extra_location_details"> Additional Location Details:</label></td>
<td colspan="2" class="fieldcell2"><input type="text" name="extra_location_details" size="100" maxlength="100"
value="<?php if(isset($_SESSION['extra_location_details'])) echo stripslashes($_SESSION['extra_location_details']);?>"/>
</td>
</tr>
------------------- After Change ---------------------
<tr>
<td colspan="2" class="labelcell"><label for = "extra_location_details"> Additional Location Details:</label></td>
<td colspan="2" class="fieldcell2"><textarea name="extra_location_details" rows="3" cols="20" size="100" maxlength="100"
value="<?php if(isset($_SESSION['extra_location_details'])) echo stripslashes($_SESSION['extra_location_details']);?>"></textarea>
</td>
</tr>