Reply to Problem w/ Hidden Input Fields

Your name:

Reply:


Posted by Jason Ferguson on 10/09/05 18:55

I have a <input type="hidden"> field with a value 86 characters long.
Here is the entire form:

<form name="frmWizard" id="frmWizard" method="post" action="">
<table>
<tr>

<td><input type="radio" name="radioKey" value="2"
checked="checked" />Rootsweb
<input type="hidden" name="txtKeyValue" id="txtKeyValue"
maxlength="90" value="ABQIAAAAh2cCTTmAE6T4OXjecIFe5BQMxb4e6BwgeSB7cBu9SbVQSak6ARTgAPoctbx36BXXgbYZONZls0B1LQ"
/>
</td>
</tr>
<tr>
<td><input type="radio" name="radioKey" value="2" />Other Site:
<input type="text" name="txtKeyValue" id="txtKeyOther" /></td>
</tr>
<tr>
<td class="center">

<input type="button" name="btnGenTemplate" id="btnGenTemplate"
value="Generate HTML" onclick="setWizardAction('genHTML.php')" />
</td>
<tr>
<td class="center">
<input type="button" name="btnPrev" id="btnPrev" value="&lt;--
Prev" disabled="true" />
<input type="button" name="btnNext" id="btnNext" value="Next
--&gt;" onclick="setWizardAction('mmwizard1.php')"/>
<input type="button" name="btnFinish" id="btnFinish" value =" Finish" />
</td>
</tr>

</table>
</form>

However, when I submit and do a print_r($_POST), there is no value for
$_POST['txtKeyValue'].

Note: the setWizardAction() function sets the <form action="">
attribute so the Prev/Next buttons work correctly.

The application is very close to being complete, so I need help ASAP.

Jason

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация