This question about Issue in browser: Answered
Page reloads when clicking in form field.
We use Foswiki to track purchases, proposals, etc. When upgrading from TWiki to Foswiki, we lost our ability to search through entries. Part of the problem seems to be that when clicking in a form field to enter the search query, the page reloads.
Perhaps this is best described by an example.
Here's the main page where (anyone with an account on our network) can enter a new purchase or search through existing purchases. As you'll see, the page reloads (at least in Safari and Firefox) when you click on the field to enter a vendor name to search.
https://wiki.classe.cornell.edu/Sandbox/PurchaseTracking
If you click a second time after the page reloads, you can actually enter a search criteria (use "Test"), which works and brings you to:
https://wiki.classe.cornell.edu/Sandbox/PurchaseTrackingList?qVN=Test
Any suggestions would be greatly appreciated
--
DevinBougie - 02 Dec 2013
The reason the page reloads is that the input field is also defined as a table sort field. So when you click to focus, it submits the page to re-sort the table. With foswiki tables, any "bold" field is interpreted as a heading and enables the sort link.
Try removing the * bold highlighting on the input field.
| *<input type="submit" value="Search" />* | *<input type="text" name="qVN" value="%<nop>URLPARAM{"qVN"}%" size="40" />* |
--
GeorgeClark - 02 Dec 2013
Many thanks, George. I should have realized that. Problem solved.
--
DevinBougie - 03 Dec 2013