Make a value pre-selected with dynamic dropdown

Creon 21 Oct, 2024

Hi there,

I have a question concerning a dynamic dropdown. The form is called by another page of my website and then a dynamic dropdown lists all seminars that are stored in one table. That works fine, but I would like to make the id of the seminar that is passed on by the previous page automatically selected and I can't figure out how this could work.So let's say I have a page with a link to the form with a structure like this: a href=myform?id=1 , how can I, in the form, make the seminar with the id=1 automatically preselected?Thanks in advance for your assistance and best regards

Marc

Max_admin 21 Oct, 2024
Answer

Hi Marc

you should pass the select name with the value to be preselected: &select_name=1

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.

VPS & Email Hosting 20% discount
hostinger