Assigning value from field A to field B

Assigning value from field A to field B

Hi,

I want to setup a function to assign the value of a formula field (DateTime output) in my layout form Licence Expiry Date to a DateTime field Custom Licence Expiry (we have an integrated system that reads values from the Custom Licence Expiry field).

I wrote the following deluge function but it doesn't work, can anybody please help?

  1. CustomLicenceExpiry = getFieldValue("LicenceExpiryDate");




Thanks

Wing