PDA

View Full Version : Form help needed



kevinv1990
27 Sep 2010, 6:26 AM
Hello everyone,

I am trying to make a search function in my webapp, but I can't figure out how :(

My goal is to make a form which has the this layout:

label "search" || input field
sumbit button


the submit button has to take you on the next page (i use setCard to navigate trough panels). I would like to save the input field value, so I can use that input to search in the json file if any keywords match.

very easy? Well I can't figure it out :(

For the bigger picture (maybe you want to know so you can tell me if a form is a good solution for this situation) A panel with a form in it, when you press on the sumbit button it saves the input value and navigate to next page, where results are show. I use setCard to navigate trough my app. And Using json file data with ajax request to contain it.

kevinv1990
27 Sep 2010, 7:11 AM
Any help would be appreciated :D