Hi Team, Is it possible to show error messages for each individual field when java script is disabled?
We are using XSD schema for validation, and if xforms-submit -error is there we are showing common error message for the form. That means even if a particular field is valid and other fields are invalid, we will show the error messages
for all the fields. But our requirement is like, we need to show the error message for a particular field only when there is an error and also it should be relevant. The below screenshot shows how we are displaying the error messages. The bunch of error messages for all the fields and the entire block of messages will be visible even if there is an error with single field. We have tried using fr:error-summary, and we made this to observe our instance. Even then we are not getting any proper result for this. <fr:error-summary id="error-summary" observer="my-model"> <fr:label>Error in this form</fr:label> </fr:error-summary> Is there any other way to solve this? Please help us out in solving this asap. Thanks and Regards, Lingesh P DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Make sure that all your fields have non-empty <xforms:alert> and <xforms:label> element.
-Erik
On Mon, May 30, 2011 at 7:55 AM, Lingesh_Palanivelu <[hidden email]> wrote:
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi Eric, I have used the< xforms:alert> and <xforms:label> in my code, even then I’m not getting any error in the error-summary. And I have developed this form manually(No
form builder). I have attached the code, please check. Regards, Lingesh P. From: [hidden email] [mailto:[hidden email]]
On Behalf Of Erik Bruchez Make sure that all your fields have non-empty <xforms:alert> and <xforms:label> element. -Erik On Mon, May 30, 2011 at 7:55 AM, Lingesh_Palanivelu <[hidden email]> wrote: Hi Team, Is it possible to show error messages for each individual field when java script is disabled?
We are using XSD schema for validation, and if xforms-submit -error is there we are showing common error message for the form. That means even if a particular field is valid and
other fields are invalid, we will show the error messages for all the fields. But our requirement is like, we need to show the error message for a particular field only when there is an error and also it should be relevant. The below screenshot shows how we are displaying the error messages. The bunch of error messages for all the fields and the entire block of messages will be visible even if there
is an error with single field. We have tried using fr:error-summary, and we made this to observe our instance. Even then we are not getting any proper result for this. <fr:error-summary id="error-summary" observer="my-model">
<fr:label>Error in this form</fr:label> </fr:error-summary> Is there any other way to solve this? Please help us out in solving this asap. Thanks and Regards, Lingesh P DISCLAIMER: DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws password_form.xhtml (6K) Download Attachment |
Free forum by Nabble | Edit this page |