jeger003 Posted February 21, 2009 Share Posted February 21, 2009 hello, i have a simple search on my php site that does not have a button. its two fields.....one you can search by title and the other you can search by ISBN....my problem is since it doesnt have a button it wont work on a mobile phone (i tried it). how can i combine them but have them do two different things <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="5" bgcolor="#FFFFFF"> <tr> <td height="79"><table width="504" border="0" align="left" cellpadding="0" cellspacing="0"> <tr> <td nowrap class="search_bar_text_title">Book Title:</td> <td width="417"><form action='/index.php?a=28&b=145&search=100' method='post' class="search_bar_text_font"> <input name='szs' type='text' style="color: #999999; font-size: 12px;" onFocus="if (value == 'Enter Title ') {value=''; style.color='#000'; }" value="Enter Title" size="60" maxlength="50" /> </form></td> </tr> <tr> <td nowrap class="search_bar_text_title">Book ISBN:</td> <td width="417"><form action='/index.php?a=28&b=145&search=200' method='post' class="search_bar_text_font"> <input name='isb' type='text' style="color: #999999; font-size: 12px;" onFocus="if (value == 'Search ISBN') {value=''; style.color='#000'; }" value="Search ISBN" size="60" maxlength="50" /> </form></td> </tr> </table></td> </tr> </table> Link to comment https://forums.phpfreaks.com/topic/146247-i-am-soo-stuck-need-help-with-a-form/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.