1

I have 1 Requirement list and 1 Tasks list with InfoPath 2010 forms.

  • Tasks list having Lookup column as of Requirement Title field.
  • Both lists having Status field.

When user save Requirement (InfoPath form) with Status=Completed I want to check whether there is any corresponding tasks exist in tasks list with Status != Completed.

if so I want to show a message (or form validation) to the user saying

"Corresponding Task is open for this requirement.Please complete the open task in order to complete the requirement."

Is it possible?

  • Yes, you can do it using custom code.. – Viraj Gorajia Jan 22 '13 at 6:23
  • Thanx for your replied. i have sharepoint list infopath. is it ok? can you please guide me regarding this? – Dhaval Kariya Jan 22 '13 at 6:39
  • Is there multiple tasks for single requirement? Ya almost part i have done but I can not check status of task that is completed or not. But i can check that task is exists for that requirement. – Viraj Gorajia Jan 22 '13 at 10:54
  • yes there are multiple tasks for single requirement – Dhaval Kariya Jan 22 '13 at 11:49
0

Concerning comment " you can do it using custom code":

  1. Custom code is impossible for Infopath SharePoint list form;

    The question is quite evasive and ambiguous on whether the Infopath form in question is of type/compatibility Sharepoint List Form...

  2. There is no need in coding for this;

What is asked is unclear - what is the type/compatibility of Infopath form and which version of Infopath?
Why do you need message box but not validation rules or conditional formatting to show and hide a section ?

  • Thax Gennady Vanin, i have updated my question. i dont have any problem if it will be validation rules instead of message box. can u tell me how can i perform that? – Dhaval Kariya Jan 22 '13 at 10:23
  • I do not see anything making your question more clear. – Gennady Vanin Геннадий Ванин Jan 22 '13 at 10:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.