Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Today's date dynamically entered into text field that user enters additional text into same field.

Avatar

Level 9

Trying to have today's date dynamically entered into a repeating table row textfield when the button is clicked to create each repeating row. The user can then enter addtional text into the same text field next to the date.

Example:

[4/25/2012] This is the text the user entered.

Today's date is populated in each update row created when the "Update Row" button is clicked.

The following script works but only for the first instance, not the second, third, forth, etc...

 

Click event: (JavaScript, client)

 

this.resolveNode('Table2._RowB').addInstance(1);

xfa.resolveNode("Table2.RowB.#subform.Update").rawValue

Thank you,

~Don

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Don,

Does this solution cover the above problem? https://acrobat.com/#d=VjJ-YsXLKmV6QU84JrAAIw

Niall

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi Don,

Does this solution cover the above problem? https://acrobat.com/#d=VjJ-YsXLKmV6QU84JrAAIw

Niall

Avatar

Level 9

That solution is perfect! Thanks for your help Niall

~Don