locked
make fields mandatory depending on other fields RRS feed

  • Question

  • i am developing custom infopath form where i want fields for university and degree to become mandatory if the specialization is filled. i only have the option of making the field mandatory which make it mandatory always. any thoughts
    Friday, July 22, 2011 11:36 AM

Answers

  • You need to use validation on the field itself, the validation to be if the specialization is not blank and this textbox is blank, then there is an error, InfoPath won't fire an error as you would expect, it will make the field mandatory by showing the red asterisk on it. Try it and let me know.
    Mohamed Derhalli ||| SharePoint Specialist ||| http://Path2SharePoint.com
    • Marked as answer by Helen Henry Friday, July 22, 2011 12:06 PM
    Friday, July 22, 2011 11:47 AM

All replies

  • You need to use validation on the field itself, the validation to be if the specialization is not blank and this textbox is blank, then there is an error, InfoPath won't fire an error as you would expect, it will make the field mandatory by showing the red asterisk on it. Try it and let me know.
    Mohamed Derhalli ||| SharePoint Specialist ||| http://Path2SharePoint.com
    • Marked as answer by Helen Henry Friday, July 22, 2011 12:06 PM
    Friday, July 22, 2011 11:47 AM
  • Thanks, tricky way indeed:)
    Friday, July 22, 2011 12:06 PM