Hi Bucklash,
thanks for your idea, your nice script and your linked article. There is another way to achieve the goal pretty simple. A big thank you to Seblod user designbengel, who had the hint.
Well lets start:
1. You use the Plugin Button Free and put it on the List and Search Type (Search Form)
2. You have an second field on the Search Form as well published ... Field: cat_id - you can set this to hidden.
For example you have there an Live-Value from the menulink. Lets stick to the cars. There are menus-items with separate live values VW=01, BMW=02, Mercedes=03
3. Now you the setup of the Button Free:
- Edit Field and choose Link > Form
- Click on the "+" behind the Form and go to custom variables
- Put in custom variables: carcategory=$cck->getValue('cat_id');
Now you getting an url with the your setup variable "carcategory" and with the Live-Value ... www.yourdomain.com/.../.../submit-car?carcategory=01
4. Next you grab the the value out of the URL on your form and put it as Live-Value into your field
- Go to your Form (Site or Admin) and choose number 2 (Live Value) ... Example: field cat_id
- Change default into Variable and configure it
- Put in the field Variable "carcategory"
Now, when you submit a car via Button on the search form the category will be transferred automatically to the form
Best Chris