DW CS5 changes checkbox names to match IDs

Hi all.
Posted accidentally in Scripting forum and have eventually arrived here.
Not used DW (CS5) for some time so very rusty. Just used it to edit a form for selecting holiday apartments for booking and providing an estimated cost,
It has a number of checkboxes with ID="Apt_1" and name="Apartment", ID="Apt_2" and name="Apartment" etc. etc. The Javascript I used worked perfectly fine to process the form - tested outside DW as edited originally in Notepad++.
To improve layout and start to develop the proposed site, I opened it in DW (CS5). Added a table to organise layout better and DW decided it would alter the checkbox names to the ID's so name="Apt_1" etc. rather than name="Apartment". This appeared to happen when I dragged the boxes into table cells.
Any ideas as to why it does this? Any way of avoiding it? Should I use Apartment[] as name instead. The code uses fragments like
frm.elements("Apartment" + j).checked
to access the checkboxes which have several associated text inputs "Adults_1", "Children_1" etc etc.
I would prefer to leave code as it is if possible as it works untill DW mangles it and I'm not the most prolific Javascript coder. Access to other elements follow the frm.elements("eltname" + j).value
pattern.
Thanks.
John B

Hi there
Sorry, but you are asking in the wrong place. This forum is for asking about the forums themselves. Try visiting the link below, clicking the drop-down and choosing the most appropriate forum.
Click here to view the main forums page
Cheers... Rick

Similar Messages

  • CS5 changes file name on command+save from photoshop to Lightroom

    Recently CS5 changes the names of my files to "untiteld" when I press "command + S" that have been exported from LR3. This doesn't happen to files opened directly from their original folder.
    I can save them to a different location using "command +shift+ S" and the original name stays intact.
    Any ideas on how I can fix this?
    Thanks
    Greg Eddinger

    No problem. Waiting for a video rendering and upload to finish ;-)
    If it is fixed in another account than it is highly likely that a develop preset or default gets applied to your images. This happens quite easily and has happened to me unknowingly too. Basically you would by accident have hit the Reset button in Develop while the option key was pressed. What you want to do is to go into Preferences->Presets and hit the button that says "Reset all default Develop settings". Then hit reset on your image. If none of that works, you can always trash the Lightroom preferences file. Quit out of Lightroom, go to the Finder. Hit command-Shift-G. Type ~/Library/Preferences/ in the display that you get to reveal the hidden by default preferences folder in your home account. Find the file that is called com.adobe.Lightroom5.plist (you might not see the plist extension on your computer) and drag that to the trash. Now start Lightroom again and your Lightroom should behave as if you just installed it. You might have to point it to your catalog file if it doesn't open with it there but with an empty catalog. File->Open Catalog-> select your main catalog.

  • Trying to write an Automator program to find files with same time created and change file names to matching source folder names

    I am failrly green when it comes to automator.
    I am trying to write an Automator program:
    Not sure where to post this
    trying to write an Automator program to find files and alter their names
    I have a source folder with correct named master files in it.
    eg. A0001_1234.mpeg
    time created 14:02:03
    date 07/07/2012
    Another folder where there will be copies of the master files in a different format with different names but created at the same time as a file in the source directory.
    they are created with a seperate device but they are
    A0000001.mp4
    time created 14:02:03
    date 07/07/2012
    I need it to then take the name from the source fies and apply the correct name to the matching file based on the time it was created.
    I can't seem to find actions in automator that reference time crated.
    Is this something I will be able to Do in automator?
    Any help would be great
    Thanks
    R

    Hi,
    It's impossible to do this without any script in Automator.
    Use this AppleScript script :
    set source to choose folder with prompt "Select the source folder"
    set anotherfolder to choose folder with prompt "Choose the another folder"
    tell application "Finder"
        repeat with tfile in (get files of source)
            set cDate to creation date of tfile
            set findFiles to (files of anotherfolder whose creation date is cDate)
            if findFiles is not {} then
                set tName to name of tfile
                set name of item 1 of findFiles to tName
            end if
        end repeat
    end tell

  • Somehow my MacBookPro iCloud account has a different name and password from my other devices.  Even my date of birth is listed incorrectly.  I have tried but can't seem to change this info to match up with my other devices.  Can someone help?

    Somehow my MacBookPro iCloud account has a different name and password from my other devices.  Even my date of birth is listed incorrectly.  I have tried but can't seem to change this info to match up with my other devices.  Can someone help?

    Thanks
    I have a PC (Windows 7)
    Not sure when mobile me changed, but it was this weekend that my storage etc. lapsed (I have paid to keep storage with icloud). So i assume this has something to with it stopping.

  • Change My Home Directory Name to Match My Short Name

    Somewhere in the process of Migration and Setup Assistant accross 3 computers, I need to change my home folder name to match my shortname. It is getting a little confusing to have two short "names."
    My home folder is - admin
    My short name is - bobbyv
    I would like tho change my home folder to bobbyv
    The admin account as you can guess is root, i have two other accounts, one that is admin and one that is not. I know about the advanced options in the accounts preference pane, but I do not want to change in without knowing what I'm doing because I do not want to have an empty and clean new home folder, my data is important.
    Thanks everyone.

    Changing the short name is possible, but it is rather involved. Search for "change short name" on this site. It's easiest to create a new account and then transfer your data to that account.

  • HT204053 support states you can't merge apple ids, but it does give you an option to edit. Im sure there's a reason, but why can't I sign in to 1 account and edit the name to match the 2nd account?

    support states you can't merge apple ids, but it does give you an option to edit. Im sure there's a reason, but why can't I sign in to 1 account and edit the name to match the 2nd account?

    Shelady wrote:
    ... (wasn't even aware my gmail account had anything to do with Microsoft) ...
    It doesn't.  Gmail is owned by Google.
    Shelady wrote:
    Also can someone tell me how I report spam on my iPhone and iPad in a gmail account?
    Report it to Google:

  • How to fix CS5 to change file names

    I can no longer change the name of raw files when saving as JPEG. Software will convert to JPEG but only with the same file name.  Previously saved files work fine.

    You provide no information for anyone to be able to help you.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers: 
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Changing iCloud ID to match new Apple iD

    Hello,
    I recently changed my name and made a new email account, so I've been slowly trying to change my IDs to match. I changed my Apple ID to my new email, but when I attempted to switch my iCloud information to match the new Apple ID in "settings" on my iPhone and ipad, I was not able to select the iCloud ID bar to change it.
    Any suggestions?

    Hey Jessicaspitters,
    Thanks for the question. After you change your Apple ID, you’ll want to follow these directions for updating the iCloud account on iOS devices:
    Apple ID: What to do after you change your Apple ID
    http://support.apple.com/kb/HT5796
    iCloud
    iOS 6 and later: Go to Settings > iCloud.
    - If you signed out before changing your Apple ID, enter your current Apple ID to sign in. The data from your iCloud account will download to your device.
    - If you're still signed in with your previous Apple ID:
    1. Scroll down and tap Delete Account. Depending on what iCloud options are turned on, you'll be asked to confirm that you want to delete data from your device. To confirm, tap Delete. (If you're using iOS 7 and have Find My iPhone turned on, you'll be asked to enter the password for your previous Apple ID. Enter the password, then tap Turn Off.) The data will be deleted from your device, but not from iCloud.
    2. Enter your current Apple ID to sign in. The data from your iCloud account will download again to your device.
    Thanks,
    Matt M.

  • Changing group names (5.x)

    We are using ADAWS in a version 5 portal. We need to change the names of some groups in Active Directory (AD). To test this, I changed one group name in AD and ran the AWS and PWS synchronizations. It appears that the group is still synchronized; however, the name of the group in the portal did not get changed. It still has the old name.
    Will I have to manually change the group names in the portal to match the new AD names? It appears that after creation, Active Directory and the portal deal with groups only on the basis of objectGUID/AUTHUNIQUENAME and memberships, not the Active Directory "CN", "name", or "sAMAccountName" entries. (We have set "Group Name Attribute" to "CN" in the PWS Agent Configuration.) ---Ken

    I doubt this will help you in the short term, but I would encourage anyone developing portlets to use portal "Activity Rights" to check for whether a user should be allowed to do things rather than just checking for a specific group name. Activity Rights are exactly what they sound like: the right to do something, but basically, they are just a named key that is attached to a group (or several groups). The EDK provides a simple call to check if a person has any specific Activity Right.
    The advantages of Activity Rights are that: they can be managed in the portal; they can be assigned to multiple groups, and removed from all groups; the portlet doesn't need to hard code a Group name, just the Activity Right key value; Activity Rights are migratable objects, which means that (unlike object ids) they can be migrated and checked by the same code in Dev, Test, and Prod systems.

  • Changing Step Name in XML Report programmaticaly

    I am trying to change the step name programmaticaly in TestStand to reflect in the XML report. The step is executed several times in a loop, and every time the loop runs I want the step to be named differently in the XML report. For example, the names will be something like this < Test1: Signal Name 1>, <Test2: Signal Name 2> ....etc. Any help on this will be appreciated .
    Thanks,
    Sam

    Hi,
    The best time to change the name is before you perform the test, then it will get inserted in the ResultList and hence into your report.
    I have attached one way of doing this. You can also perform it after the Step you wish to change, in which case you would use the RunState.PreviousStep as a reference.
    You could call the API method as part of your code.
    Remeber, if you use a PropertyLoader to load Limits, and you have placed this inside the loop, then your Limits file for the Step Name must match the new step name not the old one that you see statically.
    This is a TS3.5 example.
    Hope this helps
    Regards
    Ray Farmer
    Regards
    Ray Farmer
    Attachments:
    Sequence File1.seq ‏25 KB

  • How to change the name of a Box Object in Crystal Reports 2008

    I am trying to change the name of a box object in a crystal report - 2008. This report was originally developed by consultants and requires that certain boxes be named according to a specific naming convention. I am making a change to the report and need to add a box with a name that matches the naming convention.  This is so some program functionality will work for the new box.  I can't contact the consultants because they don't work with our company anymore.
    Does anybody have any ideas? I've tried 'Format Box', but it won't let me change the name from there. I also tried it in the Report Explorer but to no avail.
    Thanks,
    Joanne

    Hi Joanne,
    Boxes do not actually have a 'name'. When you add a Box in a report, it will be called 'Box 1' by default. And the only place this name is visible is under the Report Explorer.
    Or do you mean to say 'Text Object'?
    -Abhilash

  • Changing Clip Name

    I understand that the best time to name a clip is when capturing. And changing a clip name will pose a problem when reconnecting media.
    However, if the "clip name" is changed via "item properties" in the browser AND the "QT file" in the "Capture Scratch file" is changed at the finder level (or if Modify/Rename/File to Match Clip is used) is the above problem averted? Or is it more complex than that?
    Within a simple single project, if changing the clip name is OK using "Modify/Rename/File to Match Clip" why is changing a clip name considered so taboo?

    DaisyDaisy wrote:
    Within a simple single project, if changing the clip name is OK using "Modify/Rename/File to Match Clip" why is changing a clip name considered so taboo?
    Where it's taboo is in collaborative projects (meaning you have to merge cuts with other editors, but using the same media) as well as projects that are offline/online, since a key piece of tracking data (especially with tapeless workflows) is the clip name.
    I'd consider most situations outside of those mentioned to be 'simple projects,' and thus hardly scenarios where changing clip names is taboo.

  • How do I change the name property of a file in a document library?

    I am trying to come up with an Event Receiver that will change the name property of an file when it is uploaded. For instance when a file is uploaded into a document Library, currently the Title is being generated (which is fine)...I want to be able to
    change the "Name" property from whatever it is, to match exactly what is in the "Title" property. Are there any sample codes/blogs out there that I can take a look at? Has anyone  had any experience doing this? It seems like something
    that should be straight forward, to change the "Name" property to match what is in the "Tilte" property.

    Hi,     
    You can try the code below which use the SPFile.MoveTo() function to change the name of the file.
    EventFiringEnabled = false;
    SPFile f = properties.ListItem.File;
    string spfileExt = new FileInfo(f.Name).Extension;
    f.MoveTo(properties.ListItem.ParentList.RootFolder.Url +
    "/" + properties.ListItem["Title"]+ "_new" + spfileExt);
    f.Update();
    EventFiringEnabled = true;
    Here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/5cafb8e4-bb85-4147-9bda-4ab42a4d4817/sharepoint-2013-event-receiver-to-rename-files-not-working?forum=sharepointdevelopment
    A link about rename uploaded file using Event Receiver for your reference:
    http://paulgalvinsoldblog.wordpress.com/2008/01/25/quick-easy-rename-uploaded-file-using-sharepoint-object-model-via-an-event-receiver/
    Best regards
    Patrick Liang
    TechNet Community Support

  • Changing default name of FDF file created by submit button

    Hi all,
    I was wondering if there was a way to change the default file name used by acrobat when the submit button is clicked. Currently, when a user clicks the submit button on my form, acrobat allows them to generate an FDF file and either save it to their hard drive or attach it to an email, but uses the file name "<name of pdf form>.fdf" I would like to change this to a unique ID that is generated based on form data. I didn't have any problems generating the UID, but I can't figure out how to change the name of the FDF file.
    Does anyone know if this is possible?
    Thanks.
    Jose

    Do you sign the document before extending the features? If you do then make sure "Lock the Document after signing" checkbox is not checked. Try this:
    Clear all signature fields.
    Click on the field that you want to sign
    "Sign Document" window will appear
    In the left bottom corner this check box will appear.
    Uncheck it.

  • How to change "jabber"name from iMessage on Mac?

    I am using only 2 account . One Gmail Account Id and other is Apple ID . I am not using any Jabber ID.
    Still My iMessage is showing a Jabber name in left Pane downside.
    My description of Apple Id is Gaurav Dubey and for Gmail ID is Google . Still Not able to change the name .  Any Help would be appericated
    Is There anyway to change that "jabber" name without removing any account

    Hi,
    In the Messages app you can use your Apple Id with the iMessages account
    You can remove the Apple ID from the set up but you cannot actually delete the iMessage account.
    The same is true of the Bonjour account  (it can be Enabled or not but not deleted)
    You can also Add accounts using the Plus icon below the list.
    This now list a generic "AIM" line used for Apple IDs that are also Valid AIM Screen Names as well as names registered at AIM.
    Then at the bottom is the Yahoo option.
    In between are the Jabber options of which Googletalk is one.
    So at this point if you have added a Google ID you will list in the Account preferences:-
    iMessages
    Bonjour
    Google
    The Google one will have a description field.
    This is the account ID by default.
    Howerver as it is the only Jabber account the Window Menu is likely to list it as "Jabber" and this is also likely to appear at the bottom left of the Main Messages window and in the text field when chatting to Buddies.
    Changing this Description (deleting it) defaults to the ID itself.
    Although in some places it automatically shows as Google Talk
    In iChat 3 though 5 if you had one AIM account and one Jabber Account logged in and had not changed the default Description then the Window Menu would list "AIM" Buddy List and "Jabber" Buddy List even if it was Google.
    As I have had descriptions for some time it appears the app is remembering some of these for accounts where I delete the Description and then log the account in.
    I am sure that is a fresh set up with less accounts my Google one would get listed as Jabber in some places.
    10:36 pm      Wednesday; July 24, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.4)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

Maybe you are looking for