Skip to main content
SurabattulaSr
Level 6
Jan 23, 2022 2:53 PM UTC
Question

How to populate calculated fields into input form field

Hello All,

I have a calculated field, whose value is based on other fields selected in the form before saving.

Example:

<attribute name="customerType" label="Customer Type" type="string"/>

<attribute name="customerCode" label="Customer Code" expr="@customerType+'CUS'+CounterValue('counter')" type="string"/>

Though value is perfectly getting saved in DB, I am not able to see the same in the form against respective text field.

Kindly please help on how can I achieve this

Thanks,

SSB

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

kapilKochar
Level 6
Jan 27, 2022 10:49 AM UTC

after saving form, when you refreshing it still value not coming over form for the text field? 

Translate
SurabattulaSr
Level 6
Feb 1, 2022 5:42 AM UTC

This has been solved, added custom fields in xpathsToLoad in the Input Form.

Translate