How to populate calculated fields into input form field | Community
Skip to main content
Level 6
January 23, 2022
Question

How to populate calculated fields into input form field

  • January 23, 2022
  • 2 replies
  • 869 views

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
January 27, 2022

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

Level 6
February 1, 2022

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