-
Does your vendors list have the vendor email address in it?
I'd add a secondary data connection to the vendor list and query the list for the selected vendor in a rule on the vendor field - maybe save the email in a field you don't show on your form, and set the form's email connection to email that vendor. I would not add a bunch of ...
-
InfoPath can execute multiple rules on a button click. Are you sure the Vendor is what you think it is? I see you have a condition on the rule to only email if the Vendor is equal to a particular text, but the Vendor field is a drop down - is it a lookup to another list? If so, it is probably storing the ID of the list item, not the text.
-
Thanks for the screenshot. What I was hoping for was an actual copy of the form template? So I could see how you had your new button configured?
-
Do you have any other rules that may be affecting the group? Like a sort rule or anything? Can you try the sample form in the browser and see if it works?
-
Hi - is your form saved as InfoPath 2010? Is it injected with the browser InfoPath 2010 version of qRules?
-
May I see a copy of your form? Just attach it under the Option tab in a reply.
-
You can just add a regular button that uses rules and have the rule send and email. I'm a little confused by your description? You can label a button with the word Submit and still just use ordinary rules on it.
-
Sorry, should have read through that more closely - I didn't intend to suggest a code solution. I thought in IP 2007 / ShP 2007 we could create a data connection to the UserProfile service and just use that for user info - not sure why that blog suggests using code to get the values.
Looks like someone covers that in the comments on that ...
-
First, generally instead of using a default value for something like this, I use a form load rule - and rule would be - if the field is blank, set it to the value (so it only gets set in a new form). I think you can use the SharePoint User Profile service for what you need - more here: ...
-
Hi - you need to use a double eval formula - here's a blog post on that: http://blogs.msdn.com/b/infopath/archive/2006/04/05/569338.aspx