Summary
When creating a form with multiple pages, there are Previous and Next buttons. These as default with other forms present the button values with arrows < >, but with CivicTheme, these render as their HTML entities,
&lt;
and &gt;
respectively.
Steps to reproduce
Running GovCMS distribution 3.5.0 with CivicTheme 1.6 and have used Provision content. This also assumes supporting webform submodules like Webform Access, Webform Node and Webform UI are also enabled.
- Create a Webform via the site UI
- Add at least one page if not more and include elements on each page
- Click Save elements and View your form
- Where the Previous and Next buttons appear, the arrows don't render as expected
This occurs when:
- Using the default form view to review your form, or using it as its own standalone page
- Adding a webform as a component to a page
Observed outcome
- Buttons render as expected with CivicTheme theming applied
- Buttons work as expected, moving you either back to the previous form page or to the next form page
- The arrows don't present as expected
You can see the value written out presents the HTML entity:
The default Previous and Next button values are set at the Webform config level, at /admin/structure/webform/config in a drupal site. So out of the box, impacts any forms when using CivicTheme:
The buttons can be further tuned at the webform level, but encounter the same problem.
Switching to another theme, like Barik, does not have this issue:
This issue also occurs if you change the value of the Submit button in the Webform UI:
Expected outcome
- Buttons render as expected with CivicTheme theming applied
- Buttons work as expected, moving you either back to the previous form page or to the next form page
- The arrows present as expected