Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to populate calculated fields into input form field

Avatar

Level 6

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

2 Replies

Avatar

Community Advisor

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

Avatar

Level 6

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