I'm after some help regarding some coding within a Drupal site.
I have page a, which has a list of services offered. page b has a contact form which has a contact form, and at the very top has a dropdown which contains a list of the services offered.
What I'm after is that when a link is pressed on page a, the link that is pressed, sets the dropdown list value to the service that the link corresponds to.
This is the code of the part of the form that I would like changing.
<form class="webform-client-form webform-client-form-37 webform-conditional-processed"
enctype="multipart/form-data" action="/?q=contactus"
method="post" id="webform-client-form-37" accept-charset="UTF-8">
<select id="edit-submitted-subject-query1" name="submitted[subject_query1]" class="form-select required">
<option value="Bike Enquiry">Bike Enquiry</option><option value="General" selected="selected">General</option>
<option value="MOT Appointment Enquiry">MOT Appointment Enquiry</option>
<option value="Restoration/Service Enquiry">Restoration/Service Enquiry</option>
<option value="Sponsorship">Sponsorship</option>
<option value="Other Subject">Other</option>
</select>
Any help would be greatly appreciated!