Customise error message - InfoPath Dev
in

InfoPath Dev

Customise error message

Last post 02-25-2015 07:14 AM by donstephen. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 02-24-2015 06:44 AM

    Customise error message

    Hi, how can i customise this error message pls?
  • 02-24-2015 01:14 PM In reply to

    Re: Customise error message

    Hi renatois,

    It looks like you have the Title field which is a required field left blank upon submitting. Is this field displayed on the canvas? I am assuming that you are using a Custom SharePoint List form which is why this field is required. You may populate the Title field using the submit button and set its value with a unique value using a formula such as concat(username(), " - ", now()) -this formula concatenates the current user and the current time to make each submit unique. If this is not a SharePoint list form, then unchecking the "cannot be blank" at the fields properties should do the trick. Please let me know if this helps.

    Regards,

    Don Stephen Lambatin / Support Engineer
    Qdabra Software
  • 02-25-2015 01:23 AM In reply to

    Re: Customise error message

    Hi Donstephen, yes the title was empty on purpose to show the error message. The idea is to customise or not show that error message. Thanks
  • 02-25-2015 07:14 AM In reply to

    Re: Customise error message

    Hi renatois,

    Apologies for not seeing the real issue here. For cases like this, I would recommend using a calculated field and set an error message based on a field's status (i.e. Hide the error message or calculated field if Title is not blank). You could also add logic at the submit button to hide or show error messages. I haven't tried customizing the SharePoint error message, but I did find this: Change or customize error messages in SharePoint

    I hope I am able to point you toward the right direction.

    Regards,

    Don Stephen Lambatin / Support Engineer
    Qdabra Software
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.