Top > Frequently Asked Questions > When creating a new document in smaconne, I want display the computed field with the value of the calculation.

Frequently Asked Questions

Print Prev Next

When creating a new document in smaconne, I want display the computed field with the value of the calculation.

2017/7/18 Created.
2019/9/17 Updated.

In order to display the computed fields on the document page with edit mode in smaconne, you will have to select "No Edit (Display only)" under "Display Field" in the Form Configuration document. However, on the document page with read mode in smaconne, fields with no value (or Null) will not be displayed also the Label Name. This is also same the fields with "No Edit (Display only)" on the document page with edit mode. In a new document, the cumputed fields has no value, so when you display the edit page to create a new document in smaconne with those settings, the computed fields will not be displayed.


To ensure that when you create a new document in smaconne, the computed field is displayed with the value of the computed value, you can set the default value for new creation as follows.

The following is an example of the "Created Date" field, which is the result of the computed at the time of creation.
Set the followings on any line as "Display Field" in the Form Configuration document of smaconne.
Setup ItemsSetting Details
Label Name
Enter "Created Date"
Field Name
(Empty)
Field Type in Edit ModeSelect "No Edit (Display only)"
Formula@GetField( "CreatedDate" )
Default Value in New Document
@Now
* If you use "@Created", the value will not be what you expect, so you use "@Now" for display.
Note that it is not necessary to specify the computed fields for "Field Name" in the smaconne , because of the results of the back-end calculations are saved when the document is saved.



Related Pages:

 

Print Prev Next












© 2024 BestCommunications, Inc.