You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to concatenate and read field value in VBS

edited Apr 15, 2025 5:20PM in Sales 4 comments

Summary:

PS: bear with me as I'm new to this application and JS coding

we have a requirement to change the value of record name based on other fields

  • field 1 is a date field
  • field 2 is DCL based on account object
  • field 3 is an LOV

the requirement is is to create the record name as

field 2 - field 3 - field 1

im trying to utilized the code $fields.fieldname.value but this one is not working

also i have a requirement to format the field 1 to "DD/MM/YYYY"

i tried below code

const date = new Date();


const formatter = new Intl.DateTimeFormat('en-US', { day: '2-digit', month: '2-digit', year: 'numeric' });

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!