|
-
Apr 13th, 2004, 09:00 AM
#1
Thread Starter
Member
Visibility and invisibility of forms
this form is already visible once u load the page
form 1
<td class="text">Processing Status:</td>
<td width="44%" class="text"><select name="statName" ">
<option value="LIB Signed">LIB Signed</option>
<option value="Obligated">Obligated</option>
<option value="MOA Signed">MOA Signed</option>
<option value="For Voucher (DV) Preparation">For Voucher (DV) Preparation</option>
<option value="D.V Prepared">D.V Prepared</option>
<option value="Check Prepared">Check Prepared</option>
<option value="Check Release">Check Release</option>
</select></td>
<td width="22%" class="text" > </td>
</tr>
<tr>
<td rowspan="2" class="text"><div align="left">Remarks:</div></td>
<td rowspan="2" class="text">
<div align="left">
<textarea name="statRemarks" cols="30" rows="10" id="textarea"></textarea>
<input type="submit" name="Submit" value="Submit"></form>
once u selected the MOA Signed....this form will appear
form 2
<td width="30%" bgcolor="ffffff" class="text"><div align="right">Amount</div></td>
<td width="70%" bgcolor="ffffff" class="text"><input type="text" name="amount"></td>
</tr>
<tr>
<td align="right" class="text">Check No: </td>
<td align="right" class="text"><div align="left">
<input type="text" name="checkNum">
</div></td>
</tr>
<tr>
<td align="right" class="text">Remarks</td>
<td align="right" class="text"><div align="left">
<textarea name="remarks" cols="20" rows="10"></textarea>
</div></td>
and at the same time the first form with dropdown box will be invisible.
thanks in advance
Birds with the same feather, are the same birds.
-
Apr 13th, 2004, 09:42 AM
#2
Frenzied Member
yeah... umm... can't read yer mind, buddy. What's the question?
-
Apr 13th, 2004, 10:38 AM
#3
Frenzied Member
I think you're trying to hide a form.
never tried this but try:
document.getElementById('frmName').style.visibility='hidden'
then this to make it visible:
document.getElementById('frmName').style.visibility='visible'
This is obviously JavaScript, not PHP.
Have I helped you? Please Rate my posts. 
-
Apr 13th, 2004, 03:57 PM
#4
Stuck in the 80s
Yeah, PHP is a server-side language, mylene, it can't do any hiding of forums unless you have it refresh the page and not output a certain portion of the page.
-
Jun 8th, 2004, 11:03 AM
#5
Thread Starter
Member
hey thanks guys, especially to HOBO....i already figured it out
Birds with the same feather, are the same birds.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|