Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Merge two text fields with my text in one

Avatar

Level 3

I have one TextField = COMPANY, and one TextField = DATE (customer can fill in)

I want to make one Text field to write :        "The Z-Score, based on financial data as of " (DATE) "for" (COMPANY) "is"

Thank you

1 Accepted Solution

Avatar

Correct answer by
Level 3

I am using FormCalculator.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 3

I am using FormCalculator.

Avatar

Level 5

Keep the below script on Calculate of the Third Textfield (Result)

Language - Java Script

this.rawValue =   "The Z-Score, based on financial data as of "+DateTimeField1.rawValue+" for "+ TextField1.rawValue +" is";

Language - FormCalc

$ = Concat("The Z-Score, based on financial data as of ", DateTimeField1.rawValue , " for " , TextField1.rawValue, " is")

Replace DateTimeField1,TextField1 with ur own field name.

Thanks

Vjay