Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to create Dynamic field so it appears the file name

Avatar

Level 1

Hi,

I was wondering if anyone knows how to create a dynamic text field so it automatically appears the file name created of the document.

thanks alot !!!

Jack

designer@istarusa.com

4 Replies

Avatar

Level 10

Hi Jack,

Try putting "event.target.documentFileName; " in the calulate event of the text field.

Bruce

Avatar

Level 1

Hi Bruce,

Thanks for your quick response.I was eager to try it out and see if it works, but I was unable to locate " calculate event " or do I actually have to insert the code in xml source?  i've been looking for it for over 30 min. -_lll I must admit I'm a LiveCycle beginner could you please quickly walk me thru?I'd appreciate it.

Jacky

Avatar

Level 10

Hi, Seems we can't upload examples anymore, but here is a screen shot of what I meant.

Hope it helps

documentFileNAme.JPG

Avatar

Level 1

Hello Bruce,

Thank alot! It works!! Partially...

I got it to show, but it doesn't show the exisiting file name... let's say for your example, it is suposed to show "untitled 1" since that's the name of your file. How do I get it to appear the name of the file?

Thank you.

Jack