Support Article
Required checkbox for field is not behaving correctly
SA-6735
Summary
Required checkbox for field is not behaving correctly in Firefox browser.
When focus is on a field which has "Required" checkbox checked , on clicking "Enter" button the flow is moving forward without showing any error on the screen. This functionality works fine with Internet Explorer and Chrome browser.
Error Messages
Not Applicable.
Steps to Reproduce
1) Create a section with atleast one text field which is mandatory.
2) When the focus is on mandatory field click Enter button on the keyboard without entering any value in the field.
3) Check that FinishAssignment activity will run and take the flow to the next step without showing any error on the screen.
Root Cause
The function event.returnValue does not work in Firefox to stop event propagation.
Resolution
Updated "checkEnterKeyNoSubmit" method to use preventDefaults API instead of event.returnValue.
The issue is resolved by HFix - HFix-20338.
After installation, PRPC might become unresponsive and there will be errors in log. This is due to a new class being introduced from a dependent HFix. The class methods are referenced in sections but since the class is not already loaded, error in the log is expected. Hence, it's advisable to restart so that the new class gets loaded.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.