• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Modify Form Output

Modify Form Output 9 years 1 week ago #34884

  • admin038
  • admin038's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
Hi folks,

I am looking to modify the output of radio buttons on one of the forms I have as I need to wrap each input and label in a div.

The code currently shows as:
<input name="form[customerSatisfaction]" type="radio" value="1 - (Very Dissatisfied)" id="customerSatisfaction0">
<label for="customerSatisfaction0">Very Dissatisfied</label>
 
<input name="form[customerSatisfaction]" type="radio" value="2 - (Dissatisfied)" id="customerSatisfaction1">
<label for="customerSatisfaction1">Dissatisfied</label>

I need to be able to have:
<div class="inputWrap">
<input name="form[customerSatisfaction]" type="radio" value="1 - (Very Dissatisfied)" id="customerSatisfaction0">
<label for="customerSatisfaction0">Very Dissatisfied</label>
</div>
<div class="inputWrap">
<input name="form[customerSatisfaction]" type="radio" value="2 - (Dissatisfied)" id="customerSatisfaction1">
<label for="customerSatisfaction1">Dissatisfied</label>
</div>

Any assistance would be much appreciated!
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!