Skip to Content
author's profile photo Former Member
Former Member

HCM Form Error messages

Hi,

I need a solution on the Adobe form error messages, here the requirement is to throw the error message, if the employee belongs to employee group=3. This error message need to show when the form opens (After Form selected in the process step) . This error message show on the header message area not on the form header.

Please let me know if any one have solution.

Thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 23, 2009 at 03:06 PM

    Hey Nagaraju,

    The problem with throwing errors when the form loads, is that you can't right now. Errors in the framework can only be thrown when you do a check and send, or run an operation to the backend.

    What I've done in the past for throwing an error message for when a form loads, is to have a hidden field somewhere in the form, and if a flag is set detecting an error, then change the status of the field from hidden to visible, and pass the error message to the field.

    The other way is to force the form to refresh itself when it loads so the error shows up in the framework.

    Hope this helps...

    Cheers,

    Kevin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 16, 2009 at 12:03 PM

    Hi,

    If you want to display a condition based error message on the adobe form, you can use the Script Editor in teh Adobe Livecycle Designer.

    The code would look sumthin like this :

    if(Subform.TextField1.rawValue=3)
    Subform.TextField2.rawValue=5

    Thanks,

    Virag

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.