Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

PRPC refreshes when HTML Accordion layout is used

SA-24228

Summary



PRPC refreshes when using HTML Accordion layout. An HTML source code containing questions and answers is used. The answer text hides after a second when the question is clicked.

Error Messages



Not Applicable

Steps to Reproduce

  1. Log into the system.
  2. Navigate to the section containing the question and answer in HTML Accordion layout.
  3. Click "What are stages?" question.

Root Cause



An issue in the custom application code or rules:
When using the HTML Button Element, without any type, browser treats it as type="submit" resulting in reload section.

Resolution



Add attribute type="button" to all those buttons as <button type="button" class="accordion">Q: What are stages?</button>
Suggest Edit

Published June 17, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us