Recently Browsing 0 members
No registered users viewing this page.
how can I make this with addHookAfter
I have a contact-form with a select field as Subject.
The select field is defined as:
subject1= THE FIRST Subject
subject2= THE SECOND Subject
Now I call the contact-fom from another page with a get parameter "subject" :
I have a Hook defined to process the form "onRender" and I have got the get parameter and sanitized it, etc.
Now the question is:
How can I select the option based on the get parameter ?
Thank you in advance