从表格中创建一封信 [英] create a letter from form

查看:75
本文介绍了从表格中创建一封信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法创建一个InfoPath表单来创建一个字母并使用输入到文本框中的数据? 

Is there a way to create an InfoPath form that creates a letter and uses the data entered into the textboxes? 

例如:我有3个文本框由用户填写,然后这些值将被放入可以通过电子邮件发送的通用备忘录中。 99%的字母是相同的,只更改文本框中的值

Ex: I have 3textboxes that w ill be filled in by a user, then those values will be put into a generic memo that can be emailed. 99% of the letter is the same, only changing the values from the textboxes

TextBox1 =史密斯先生

TextBox1 = Mr. Smith




TextBox2  = Chevy 1500

TextBox2  = Chevy 1500

TextBox3 = 996969

TextBox3 = 996969

,最终输出为:

re:保修更新 - 发票996969

re: warranty update - invoice 996969

Hello先生你好,

Hello Mr. Smith,

       感谢您订购雪佛兰1500.一旦部件进入,我们将通过档案号码与您联系。如果您对发票996969有任何疑问,请致电800.555.1212或发送电子邮件至.......

       Thank you for your order for your Chevy 1500. Once the part is in, we will be contacting you at the number on file. If you have any questions on invoice 996969, please contact customer service at 800.555.1212 or email at .......

谢谢。

推荐答案

这是一个符合你的例子要求:

Here's an example which meets your requirement:

1。创建一个存储订单信息的列表。在此列表中创建名为Customer,Product和Invoice的新列。

1. Create a List which stores order information. Create new columns named Customer, Product and Invoice in this list.

2。单击功能区上的"自定义表单"并打开InfoPath。列的文本框将自动添加到表单中。

2. Click "Customize Form" on the ribbon and open InfoPath. Textboxes for the columns will be automatically added to the form.

3。添加电子邮件内容的字段。在功能区的"控件"选项卡中,插入要在其中显示信息的"计算值"对象。

3. Add fields for Email contents. In the "Controls" tab on the ribbon, insert "Calculated Value" objects where you want to display the information.

4。在"插入计算值"下,点击"fx"按钮。按钮,然后单击"插入字段或组"。选择文本框的相应输出,例如,在"Hello"之后为对象选择"Customer"。

4. Under "Insert Calculated Value", click "fx" button and then click "Insert Field or Group". Select the corresponding output for the textbox, for example, select "Customer" for the object after "Hello".

5。调整"计算值"对象。这是表单的示例图像。

5. Adjust the Calculated Value objects. Here’s a sample image for the form.

6。保存并发布。

当您在此列表中创建新项目并在字段中填写信息时,电子邮件将自动填写。

When you create a new item in this list and fill in information in the fields, the Email will be automatically filled.

最好的问候,

Chelsea Wu

Chelsea Wu


这篇关于从表格中创建一封信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆