File Browse - is there a post-selection "entry point" that I can work with?

Hi:
I'd have a form that is uploading a document, and on the form is a TITLE text area. I'd like to have the title be the name of the file minus all the path info and extension by default. I was hoping there would be some are to put some scripting in that runs only after a user has made a selection with the browse item. Is it possible to do this in HTML DB?
Thanks.

Michael,
In principle this is possible. You'll have to use some Javascript to make it happen. I say in principle, because the <input type="file"> form element has special security rules applied to it in most browsers that may prevent you from addressing it with Javascript (certainly write values to it, for obvious reasons).
Here's a static HTML file that copies the full path into a seond field when you click the Bingo! button. You'll have to do some more work to strip off the leading path. Among all of us on the form I'm sure we'll figure it out.
<html>
<body>
<script language="javascript">
function makeCopy ( what )
what.dummy.value = what.myfile.value;
</script>
<form name="myform" action="foo">
<input type=file name=myfile>
<input type=text name=dummy>
<input type="button" value="Bingo!" onClick="javascript:makeCopy(this.form)">
</form>
</body>
</html>
See also our Javascript How To:
http://www.oracle.com/technology/products/database/htmldb/howtos/htmldb_javascript_howto2.html#button
Sergio

Similar Messages

  • Importing HD footage from A SONY HDR-AX2000.  Imovie on the iPad does not recognize the footage.  IS there a way to format my SD cards so that I can work with imovie on the Ipad???  I have a broken computer and a deadline for a project.  Please help.

    SO, a genius at my store told me there are some bugs to work through with SONy cameras and Apple.  But I needed the sony camera because of how good they are in lowlight, among other features.  Does anyone have trouble with Final Cut and there SONY cameras??  Is there a better video editing software??

    Welcome to the Apple Support Communities
    Microsoft will launch Office for iOS next year, so you have to wait, Instead of Outlook, use Mail on the iPad

  • I've lost come photoshop cs 8.0 files and have been told by a recovery company that they can't be saved. Is this true?

    I've lost some Photoshop cs 8.0 files and have been told by a recovery company that they can't be saved. I've attached a screen shot of what seems to remain of one of the files.  You will see it has 3 different icons that correspond to it. One a 'thumbnail'; one a 'meta' and one an 'exec' file. I have no idea what this means and whether or not someone more experienced in recovery can tell me if these kinds of files are salvageable.  Any kind of input would be great. I'm not well versed in the language that's probably involved in describing this...

    This is where the icons that appear are located - not the original files.
    The icons are straggler files.  No your original files would not be located there.  The original files (.app files) would be located inside the Application folder.
    In fact - I really don't even know why these icons are still on the computer.
    It's because when the files were deleted, you did not use an uninstaller.  I do not use Photoshop, but if it comes with an uninstaller, when using same, the uninstaller gets rid of all the straggler files that are attached to the application.  3rd party uninstallers also get rid of straggler files. 
    I have no idea what they mean or what their function is.
    To know what they do, you should post over in the Adobe Forums: Forum: Adobe Photoshop forum area.  It's where all the Mac Photoshop users hang out.  These users will be able to explain to you which files you can safely remove associated with your "lost" files.

  • If the occi can work with TUXEDO well ,is there any restricts?

    we want to use occi to access oracle in TUXEDO serive.
    If the occi can work with TUXEDO well ,is there any restricts?
    who can describe how to use , step by step.
    THS a lot !
    mails:[email protected]

    Hi,
    Yes OCCI can be used to access Oracle database from Tuxedo. If you want Tuxedo to manage transactions for you then you need to follow essentially the same approach as in using OCI or Embedded SQL. Since you are accessing a resource manager, you will need to define an OPENINFO string in the Tuxedo RM file located in the udataobj directory of the Tuxedo installation. Likewise you will need to build an RM specific TMS for the Oracle Database and specify the name of the RM entry in the buildtms and buildserver commands with the -r switch.
    Before going into a step by step set of instructions, can you describe what you know about Tuxedo and OCCI? Have you built Tuxedo servers before and have they accessed a resource manager?
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • Office 2013 - Is there a way to when installing that you can change the default save location without having to configure it within the client?

    So, What I am trying to do is deploy Office 2013 throughout our company, and I do not want the users to save their business or personal files created within Office 2013 on the C: drive or Sky Drive. We have what is called the U: drive and I'd like to know
    if there's a quick registry tweak that I can use to not only change the default location upon setting up a computer, but to deploy through Group Policy? 
    One other question perhaps; Is there a way to change not only the file location to default to only the one place, but also is there a way to also set a specific size limit to folders and prevent certain files from being saved (videos and personal pictures). 
    I have our network pretty tight as to what or who can go where, and what not, I am just really for an answer or some help to the default location...anything you have GREATLY APPRECIATED! 

    You can use the OCT and/or domain Group Policy, to customise the Office experience and settings for your users:
    https://technet.microsoft.com/en-us/library/ee460874.aspx
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • How do I change my security questions email? There is an old one attached that no longer works.

    How do I change my security questions email? There is an old one attached that no longer works.

    The Three Best Alternatives for Security Questions and Rescue Mail
        1. Use Apple's Express Lane.
              Go to https://expresslane.apple.com ; click 'See all products and services' at the
              bottom of the page. In the next page click 'More Products and Services, then
              'Apple ID'. In the next page select 'Other Apple ID Topics' then 'Forgotten Apple
              ID security questions' and click 'Continue'. Please be patient waiting for the return
              phone call. It will come in time depending on how heavily the servers are being hit.
         2.  Call Apple Support in your country: Customer Service: Contacting Apple for support or
              Apple ID- Contacting Apple for help with Apple ID account security. Ask to speak to
              Account Security.
         3.  Rescue email address and how to reset Apple ID security questions.
    How to Manage your Apple ID: Manage My Apple ID

  • How to remove preinstalled files of adobe photoshop from my mac mini so that i can install a new version of the same software.The previous version was removed using the app cleaner software.Could not continue installation bcoz of earlier files

    How to remove preinstalled files of adobe photoshop from my mac mini so that i can install a new version of the same software.The previous version was removed using the app cleaner software.Could not continue installation of the new version because of the existance of files from the previous version.plz help

    What "app cleaner software" ? I ask because installing Photoshop over a previous version has never been a problem. Perhaps your difficulty stems from another source, eg. "cleaner software" ?
    If you look in your hard drive, at the root level there is a Library. In there is a folder called Application Support, and in that you will find a folder called Adobe. Files from your previous version are there.
    However, I urge you to call Adobe support to make sure you are not doing anything that would mess up other Adobe applications.
    http://www.adobe.com/support/connect/connecthostedsupport.html

  • I've just migrated my Logic Pro 9.1.8 to a new Mac because my old computer crashed. They are asking for a serial number, but I don't have the install disks anymore. Is there someplace in the software itself that I can find the serial number?

    I've just migrated my Logic Pro 9.1.8 to a new Mac because my old computer crashed. They are asking for a serial number, but I don't have the install disks anymore. Is there someplace in the software itself that I can find the serial number?

    Please stop making multiple posts on the same subject.. This is the third thread you have created in a short space of time asking the same question.
    Please read the answers given in this thread you posted...
    https://discussions.apple.com/thread/5311324?tstart=0

  • I downloaded microsoft office to my MBP and my question is how do i get the right file or operating system to open it and so that i can use it?

    i downloaded microsoft office to my MBP and my question is how do i get the right file or operating system to open it and so that i can use it?

    Welcome to the Apple Support Communities
    There are two Office versions: Office for Windows, and Office for Mac.
    I suspect that you have downloaded Office for Windows, and you can use it if you install Windows, but a cheaper and easiest way to use Office is to use Office for Mac, so you won't have to install Windows. See > http://www.microsoft.com/mac

  • TS3212 i have a new pc with windows 8, i've downloaded itunes but there is no evidence of it that i can find but when i go to redownload it comes up with 'thanks for downloading itunes'...  any help would be appreciated

    i have a new pc with windows 8, i've downloaded itunes but there is no evidence of it that i can find but when i go to redownload it comes up with 'thanks for downloading itunes'...  any help would be appreciated

    See the futher information area of Troubleshooting issues with iTunes for Windows updates for download advice and direct links if required.
    See this migrate iTunes library post for advice on moving the library over from a previous computer and this post on deduplication.
    tt2

  • Is there another program instead of quicktime that u can import movies

    is there another program instead of quicktime that u can import movies to ur ipod?

    hey aechick,
    u can do without quicktime to convert videos of any format to mp4...
    goto this link : http://www.download.com/Free-iPod-Video-Converter/3640-21944-10498771.html?tag=tabur
    its one of the numerous file convertin' software.....i use videora though...u cud do a google on it..
    lemme know if it works aye cheers
    sam
      Windows XP   ipod 60 GB video

  • Is there a way to create my own app store that I can share with employees? I'm thinking apps that we've identified as important or needed, all in one place.

    Is there a way to create my own app store that I can share with employees? I'm thinking apps that we've identified as important or needed, all in one place.

    Not exactly your own app store, but close.  Apple has an App Store Volume Purchasing Program for Business > http://www.apple.com/business/vpp/
    It allows you to purchase apps in any quantity you desire and pay using a company credit card.  You will receive a spreadsheet of redeem codes which you distribute to your emloyees.  The program guide has complete information > http://images.apple.com/business/docs/VPP_Business_Guide_US.pdf

  • TS1741 i lost my appletv remote & can no longer connect to it with my iphone app. is there any way that i can reconnect with my iphone app without having to buy a new remote?

    i lost my appletv remote & can no longer connect to it with my iphone app. is there any way that i can reconnect with my iphone app without having to buy a new remote?

    Doubtful - why did the Remote app lose connection?

  • When trying to use MobileMe I am getting an error message: AppleSyncPref.exe - Entry Point not found  Can you help?

    When trying to use MobileMe I am getting an error messgae: AppleSyncPref.exe - Entry Point not found  Can anyone assist?

    MobileMe no longer exists...that system was discontinued and merged into iCloud.
    Your old MobileMe email addresses shoule still be valid, or convert into some form of user@ me .com or icloud . com.

  • Is there service pack available for weblogic 5.1 to work with JDK 1.4 for NT Environment

    Is there service pack available for weblogic 5.1 to work with JDK 1.4 for NT Environment

    Hi.
    This is definitely not supported, and I don't know that any work is scheduled in the future
    to support this JDK on WLS 5.1.
    Having said that, I was able to start WLS 5.1sp12 with JDK 1.4 with no errors. I didn't
    exercise any features, however.
    Regards,
    Michael
    Rakesh Gupta wrote:
    Is there service pack available for weblogic 5.1 to work with JDK 1.4 for NT Environment--
    Michael Young
    Developer Relations Engineer
    BEA Support

Maybe you are looking for

  • 2 ipod touches with 1 itunes library??

    My girlfriend and I were wondering how we can set up 2 playlists on itunes with 1 computer. We want to have 1 shared itunes but have different songs on eachother's ipods. Any help with this please?

  • Hosting your iWeb site with a third party

    Where is the best place to host my iWeb site so that I can get it indexed by the various search engines? Apparently, .Mac blocks spiders and therefore I cannot get my site to come in search results. Obviously, my primary goal is to have my site promi

  • Vector app with boolean operators

    not expecting much, I need some form of vector based (lines, plines, oval, squares etc...) that also has the ability to do basic boolean operations on those shapes, (addition/merging, subtraction, etc...). I would be sending these back to the main co

  • Sync iPad/iPhone calendar to friend's iPod

    Please can somebody give me a step-by-step on how to allow a friend to sync his iPod to my iPad/iPhone's Calendar? I don't want to open a google account. Thank you!

  • I clicked on blue box to keep menubar in lion. Bar issues again and click didnt work.

    Apple Store fixed my issue with menubar for Lion. All I had to do was click on a blue box in upper right hand corner that I didnt notice after downloading. Now Im back to square one. Blue box is back and clicking it again just minimizes the screen.