View Full Version : Javascript to preselect form criteria

12-12-2011, 11:38 PM
Hi there,

I'm very very new to programming and I think what I'm after is possible but I'm not 100% sure. Here it goes:

I've got a search form in my website that is corresponds to a external searchable database - Caspio. The site is Wordpress and the search form is deployed via a url wrapped inside the Caspio plugin shortcode.

I'd like to create some javascript to pre-select elements in the search form. I want to be able to do this externally from Caspio because I want to set up 20-30 of these pre-sorted searches. This will make it easier for clients to access the most popular searches.

I've tried to research how to do this but I haven't been able to find very much - perhaps I'm using the wrong words.

Any help would be much appreciated!
Many thanks