Set field once on compose

G

greg

I would like to set a number of fields once a new form is created and not
calculate that field again such as;
Date form was created:
Name of Person who created the form:
a Sequential form number:

thanks in advance
 
A

Anuma (GGK Tech)

Hi,
Follow below steps to set the Create by user name.
1. Select Tools form Options.
2. Go to Open and Save tab.
3. Select Rules button and Click Add button.
4. Select “Set Condition†button.
5. Add “Created Name is blank†condition and click on ok.
6. Click on “Add Action†button.
7. Select “Set a Fields Value†from Action dropdown.
8. In field, select Created Name xpath.
9. Add “userName()†function in Value field.
Follow below steps to set Create date:
10. Select Tools form Options.
11. Go to Open and Save tab.
12. Select Rules button and Click Add button.
13. Select “Set Condition†button.
14. Add “Created Dateis blank†condition and click on ok.
15. Click on “Add Action†button.
16. Select “Set a Fields Value†from Action dropdown.
17. In field, select Created Date xpath.
18. Add “Now()†function in Value field. (or you can use Today() function)

Verify below link to set the sequential number
http://www.infopathdev.com/blogs/hi...-with-sequential-form-ids-sql-and-sprocs.aspx
 
Top