How to populate the whole path of the button in a field when the button is clicked.

Hi,
I have around 5 uploads in my file. I kept a hidden field on the header of the form. When ever i click on the upload button, the path of it needs to be populated in the hidden text field.
by using   this.parent we can get the parent name of the element.
is there any method similar to the above one to get the whole path of the button????????

Try putting this script in the click event of the button
Hidden_Text_Field_Path.rawValue=this.somExpression;
This ought to work using either FormCalc or JavaScript.  I'm not sure from your description whether you will need to use the full path name for the hidden text field or use a relative one, but that's not too hard to deal with.

Similar Messages

Maybe you are looking for

  • Scenario or adapter to sending a text file to different target directories

    Hi experts In XI 3.0 I have developed a file2file scenario that takes a comma-separated file (*.csv) and converts it and returns a text file that is sent to a specific directory, the name input file determines the Target Directory, for each input fil

  • Freeze column headers in WAD

    Hi, I developed a web layout in the WAD. For my analysis grid, I want to freeze my column headers so when I scroll down, I still can see my column headers. We can't work with XHTML-frames because the width of our first column changes... Anybody an id

  • Preferences not launching in iPhoto 08

    I've installed iLife 08 twice and also applied the update for it. The preferences window will not launch in iPhoto. All the other options seem to be work. Any one else have this problem? Thanks in advance.

  • IPOD and USB Wireless Adapter Fighting!

    I've got a Motorola USB Wireless Ethernet Adapter hooked up to my Dell desktop running XP. When I put my iPod in it's cradle, it disconnects the wireless. I've tried moving the iPod onto the other USB bus, but I keep getting the same problem. Any sug

  • Textfree app no longer wants to open

    The Textfree app no longer wants to open on our Ipod Touch. It still makes a sound when a text is received, but we can't open it. We have tried restarting and resetting the Ipod. The app has been working fine so far.