I am trying to make some modifications to SobiPro
plugin in a Joomla site.
Ref:Site Url
We have implemented SobiPro search feature. There are 2 dropdowns.
- Specialty/Category of doctor
- Hospital Name
In the Specialty dropdown, different specialities are listed down in the following format;
- Select Category
- Dentist
- Psychologist
- Anaesthetist
When a specific category is selected the rsearch results are getting displayed correctly. What I am trying to do is to make a different display when a user 'doesn't select a default category'.
i.e - A user selects 'Select category' in first dropdown and 'Hospital name' in second dropdown.
A layout with the 'Specialty' as heading in top row. Then all the doctors in that specialty will be displayed under that heading.
For this to work, I need to fetch the value of 'Specialty/Category' dropdown. How can I do it in XSL?
<select name="field_speciality" id="field_speciality" class="" style="width: 200px;">
<option selected="selected" value="0">Select Category</option>
<option disabled="disabled" value="55">- Doctors</option>
<option value="74">Dentist</option>
<option value="262">Psychologist</option>
<option value="118">Pulmonologist</option>
</select>
How can I implement the same?