• 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: where to change the submit button class

where to change the submit button class 9 years 3 months ago #33795

  • sam.samiei
  • sam.samiei's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 23
  • Thank you received: 1
in form layout I've chosen "Bootstrap 3.3.5" and was wondering where could I define the buttons class?
Right now is set to class="rsform-submit-button btn btn-primary" and I need to change the "btn btn-primary" to: class="btn btn-primary btn-icon"
The administrator has disabled public write access.
The following user(s) said Thank You: gunerguk

where to change the submit button class 9 years 3 months ago #33821

I have the same question for the responsive template. Where do I change the button class?
The administrator has disabled public write access.

where to change the submit button class 9 years 3 months ago #33829

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
Though there is configurable option for this, there are two ways to accomplish the task:

1. Issue your own CSS definitions through the Javascript / CSS area, CSS section

2. Use a PHP script to make the desired adjustments. You will have to use the PHP Scripts > Scripts called on form display area. Given that the $formLayout variable stores all form HTML, you can use something like this:
$formLayout = str_replace('what to replace', 'replacer', $formLayout);
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.
The following user(s) said Thank You: gunerguk
  • 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!