-
Hi WCO!
Dates are different data types than whole numbers. You will need to add some code (OnAfterChange event handler function) to take apart the Date object and subtract 3 days from it and check it against Today. If it's true you can display a message box from code, or set some field that controls the message box. Dealing with dates is a ...
-
My first question is what are you ultimately trying to do with this? Do you actually need these values in a Rich Text Box, or can you just display them inline, using Expression Boxes, in the view? The view would be a static version of the text you are trying to insert these values into.
Secondly, yes, you can do what you want... but you will need ...
-
OK. I hope to get a definitive answer today, but might be tomorrow. Anyway, if you have an MS internal alias, e-mail that to me and I'll cc you on the thread.
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Hi Thierry!
Might be hard to do Rich Text control, but we have done several things like this. I'll ask Greg to respond with details.
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Hi again,
I think ''InfoPath form pass arguments parameters'' would be a good Google search string.
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Great idea. One of the problems with Rules is that they are hard to debug.
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Sorry,
I just started using infopath and i am kind of lost.
can you give an example of script for attaching the form when the user clicks the submit button. I would prefer the code method.
-
If you set the attachment name to the Email connection then the form will be sent as an Attachment.
You can set attachment name when you create the Email data connection, it is the last textbox in the Email dataconnection wizard.
You can also do this in the code. EmailAdapter has an AttachmentName property, you can set the attachment name to ...
-
Hey all,
I'm trying a condition and don't think it's working right. What I'm looking for is: ''If [start date] is less than 3 days from today, display ''72 hours'' in a message box. The condition that I have tried is: [start date] is less than --->''today()+3'' <---this a formula, which hasn't worked so far. If I take the ''+3'' off then ...
-
I think it would be nice to have one particular place where you could view and manage all of the rules & conditions that you have on your form. The forms that I have created are pretty involved with a buhc of rules. Unless, of course, there's a way to do this now.