Showing Error messages in No script mode

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Showing Error messages in No script mode

Lingesh_Palanivelu

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.

 

cid:image001.jpg@01CC1C9B.07B14B30

 

 

 

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
Reply | Threaded
Open this post in threaded view
|

Re: Showing Error messages in No script mode

Erik Bruchez
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:

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.

 

cid:image001.jpg@01CC1C9B.07B14B30

 

 

 

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
Reply | Threaded
Open this post in threaded view
|

RE: Re: Showing Error messages in No script mode

Lingesh_Palanivelu

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
Sent: Tuesday, May 31, 2011 10:48 AM
To: [hidden email]
Subject: [ops-users] Re: Showing Error messages in No script mode

 

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.

 

cid:image001.jpg@01CC1C9B.07B14B30

 

 

 

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.

 



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