Is there a way to default the value in a text field without using JS

Avatar

Avatar

AEMnewbie

Avatar

AEMnewbie

AEMnewbie

17-11-2020

I have a use case where i want to default the value of the title and the name in createlivecopywizard i.e /mnt/overlay/wcm/core/content/sites/createlivecopywizard.html/content/x/en/xx?source=%2Fcontent%2Fx%2Fen%2Fxx%2Fabc

I was trying to use the value option .. But i want to dynamically set it every time based on the source in the uri. Is there a simpler way to do this?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Bhuwan_B

Avatar

Bhuwan_B

Bhuwan_B

17-11-2020

Use value property to add default value in text fields.

https://helpx.adobe.com/experience-manager/6-5/sites/developing/using/reference-materials/granite-ui...

 

 To dynamically set it every time based on the source in the uri, you have to write custom js.

Answers (1)

Answers (1)

Avatar

Avatar

Ankur_Khare

MVP

Avatar

Ankur_Khare

MVP

Ankur_Khare
MVP

18-11-2020

No its not possible without custom js