Welcome, Guest
Please Login or Register.    Lost Password?

Search Form
(1 viewing) (1) Guest
Welcome to the ToolsJX forum!


Go to bottomPage: 1
TOPIC: Search Form
#529
Search Form 3 Months, 1 Week ago Karma: 0
Hi,
i puchase the Table JX and i really like but i have now one problem. I need to modify the search form.
I use Table JX for a event list and i want to have a list/scroll down selection for the different languages (column). And the grid must be refreshed on select.

sample

Thanks for help
MarWie

i am a new in php!
MarWie
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/05/27 17:41 By MarWie.
The administrator has disabled public write access.
 
#532
Re:Search Form 3 Months, 1 Week ago Karma: 1
Hi,

if i understand correctly you would like to have besides search form also list box and when a user select one item from the list box you would get filtered query.

Solution would be:

- create new parameter, let say @listItem
- you will have to set default value (in query you will get for all listItems)
- create a function to set @listItem variable when selecting value from list

Basically this is it.
In admin area you will write in WHERE e.g. listItem=@listItem

You can see how it is made with @userId. The solution here is the same.

Best regards,
Viljem
viljem
Admin
Posts: 152
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Tools JX, Powered by Joomla!; Joomla templates by SG web hosting