Fill automatiquely a Text box to a form


#1

Hello everyone,

I’m trying to find out if it’s possible under Cloudforms to programmatically fill in a text box in a form. The objective is to automatically add the user’s name to the form when the form open for example.

Thank you for your help.

Best regards


#2

Make the text box dynamic. Create a wrapper instance and a method:

$evm.object['value'] = $evm.root['user'].name

Usually such fields are marked read-only - but depends on your usecase.


#3

Thank you.

I will try.