PHP - Moved: Form Button Issue
This topic has been moved to Third Party PHP Scripts.
http://www.phpfreaks.com/forums/index.php?topic=347219.0 Similar TutorialsThis topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=350095.0 This topic has been moved to HTML Help. http://www.phpfreaks.com/forums/index.php?topic=307745.0 This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=356816.0 This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=331164.0 This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=308101.0 This topic has been moved to HTML Help. http://www.phpfreaks.com/forums/index.php?topic=315457.0 This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=346803.0 This topic has been moved to HTML Help. http://www.phpfreaks.com/forums/index.php?topic=317717.0 This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=347187.0 This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=356192.0 This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=322814.0 This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=353240.0 i have an html form which is a "post" on it i have an array of checkboxes and a sumbit button, once button is clicked i go to another page where i handle those boxes checked the problem now is if NO checkboxes are checked and i hit the submit...i get errors on the other page my code: foreach($product_names as $product_row) { ?> <tr> <td > </td><td width='200px'><?php echo $product_row->getName(); ?></td> <td width='200px'><input type="checkbox" name="graphic[]" value="<?php echo $product_row->getId();?>" /></td> <td width='200px'><input type="checkbox" name="text[]" value="<?php echo $product_row->getId();?>" /></td> </tr> <?php } ?> </table> <table> <tr> <td> <input type='submit' name='submit' value='Submit'> <?php if ( (isset($graphic)) || (isset($text) )) { echo "checkboxes checked"; //show submit button } else { //hide submit botton and echo "no boxes check"; } ?> the above is NOT working please help???? This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=317600.0 This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=351451.0 This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=351591.0 This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=350924.0 Hi, how can i create a form within a form with the click of a button? so that when i click add new item, it brings form fields under the current one. hope my explanation helps thanks Code: [Select] <form id="form1" name="form1" method="post" action=""> <table width="100%" border="0" cellspacing="2" cellpadding="0"> <tr> <td width="22%">Invoice Number </td> <td width="78%"> </td> </tr> <tr> <td>Date Issued </td> <td> </td> </tr> <tr> <td colspan="2"> </td> </tr> <tr> <td colspan="2"><table width="100%" border="0" cellspacing="2" cellpadding="0"> <tr> <td width="10%">Quantity</td> <td width="70%">Description</td> <td width="9%">Taxable</td> <td width="11%">Amnount</td> </tr> <tr> <td valign="top"><input name="textfield" type="text" size="7" /></td> <td valign="top"><textarea name="textfield2" cols="80"></textarea></td> <td valign="top"><input type="checkbox" name="checkbox" value="checkbox" /></td> <td valign="top"><input name="textfield3" type="text" size="12" /></td> </tr> <tr> <td colspan="4"><input type="submit" name="Submit" value="Add New Item" /></td> </tr> </table></td> </tr> <tr> <td colspan="2"> </td> </tr> <tr> <td colspan="2"> </td> </tr> <tr> <td colspan="2"> </td> </tr> </table> </form> This topic has been moved to CSS Help. http://www.phpfreaks.com/forums/index.php?topic=327840.0 This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=350859.0 |