cancel
Showing results for 
Search instead for 
Did you mean: 

HCM Form Error messages

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Kevin,

We are implemented the error message in the form, same way which you are mentioned but as per our requirements they want to show on the header.

Thanks for the reply.

Answers (1)

Answers (1)

Former Member
0 Kudos

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