How to define default values to the template variable?
App Development2 posts175 views1 likesLast activity Jun 2023
AR
arijitltimOP
Jun 2023I want to define some default values for some of the variables in a template. How can I do that?
For example, I want to define status as ‘Initiated’ and kycCompliant as ‘False’
whenever I am creating the loan request.

GA
Gary_Verhaegen
Jun 2023There is no support for that. If a contract only has a single signatory, that signatory can create the contract with whatever values they want.
Based on your other question, I think what you really want here is multiple templates, instead of representing the states with attributes within a single template.