We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
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 default a value in a field using Page Composer Personalization

Received Response
49
Views
2
Comments
edited Jan 30, 2020 10:22AM in Integrations and Extensions 2 comments

Summary

How to default a value in a field using Page Composer Personalization

Content

Hi there,

I am trying to figure out how to default the current date into a date field using a personalization.

Using the Page Composer in a Sandbox, I browse to the field that I want to modify, and edit it.

 

In the "Default Value" property, I first set it to Override, and then using EL, I used the following expression #{generalSettings.formattedCurrentDate} and test it to ensure that the correct value is being returned. Which it is.

I then apply changes, save and preview my Sandbox as if its Live.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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