Unable to submit Form in any other Language but English
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- Fail to submit the form in added language with required field
-
Steps to Reproduce
- Go to Web Content > Forms
- Add a Form
- Add a Text Field
- Switch on Required Field
- Add a Translation, for example: used Chinese(China) for testing
- Publish the Form
- Visit the new added form by URL
- Change the language to Chinese
- Add the required value and submit the form, click the "提交" button
Expected Result: Submit successfully
Actual Result: Fail to submit the form, with error "Error: A custom field validation failed" on UI
Environment
- Liferay DXP 7.1 fix pack dxp-17
Resolution
- It's a known issue and is fixed in the fix pack dxp-18 and above.
- If the hotfix is required for this issue on top of fix pack dxp-17, please create a support ticket requesting hotfix by attaching patch details.
-
Installing Fix Packs and Hotfixes on Liferay DXP will guide to install this hotfix in the respective environment.
Did this article resolve your issue ?