What is the best way to clone a form field in BC

Hi,
What is the best way to clone a form field in BC.  I tried using jquery .clone.  It works fine on other forms for me but not on the BC forms, why? is it just me?  Any help would be great. Thanks

I mean, duplicate a field with the click of a button.
I think this should work, but it's not and  I am linked to the jquery library in the head of my page.
<script type="text/javascript">
$(document).ready(
  function() {
    $('input#tmpAddRow').click(
      function($e) {
        $e.preventDefault();
        $('tr#tmp').clone(true).removeAttr('id').appendTo('tbody');
    $('tr input[type=text]').focus(
      function() {
        $(this).addClass('myFocused');  
    ).blur(
      function() {
        $(this).removeClass('myFocused');
    </script>
<img alt="" style="border: 0px solid; width: 200px; height: 134px; float: left;" src="/images/pv logo 3d.png" />
<h3 style="text-align: center; color: #0000ff; text-shadow: #999999 0px 1px 5px;">Member Directory Listing</h3>
<p style="text-align: center;">If you would like to be listed in the Pine Valley Middle School Directory, please fill out this form.  Only fill out the areas you would like to show up in our Directory.</p>
<div style="margin-left: 130px;" class="form_bg">
<form action="/CustomContentProcess.aspx?CCID=5656&amp;OID={module_oid}&amp;OTYPE={module_otype }" method="post" enctype="multipart/form-data" onsubmit="return checkWholeForm45842(this)" name="catcustomcontentform45842">
    <table cellspacing="0" cellpadding="2" border="0" class="webform">
        <tbody>
            <tr>
                <td id="tmp"><label for="ItemName">First Name</label><br />
                <input type="text" value="{module_firstname}" maxlength="255" id="ItemName" name="ItemName" class="cat_textbox_small" /><br />
                <input type="button" id="tmpAddRow" value="Add a Row" />
                </td>
            </tr>
            <tr>
                <td><label for="CAT_Custom_131512">Last Name</label><br />
                <input type="text" value="{module_lastname}" class="cat_textbox" id="CAT_Custom_131512" name="CAT_Custom_131512" maxlength="1024" /></td>
            </tr>
            <tr>
                <td><label for="CAT_Custom_131509">Number</label><br />
                <input type="text" value="{module_homephone}" class="cat_textbox" id="CAT_Custom_131509" name="CAT_Custom_131509" maxlength="1024" />
                </td>
            </tr>
            <tr>
                <td><label for="CAT_Custom_131510">Email</label><br />
                <input type="text" value="{module_emailaddress}" class="cat_textbox" id="CAT_Custom_131510" name="CAT_Custom_131510" maxlength="1024" /></td>
            </tr>
            <tr>
                <td><label for="ItemAddress">Address</label><br />
                <input type="text" value="{module_homeaddress}" maxlength="500" class="cat_textbox" id="ItemAddress" name="ItemAddress" />
                </td>
            </tr>
            <tr>
                <td><label for="ItemCity">City</label><br />
                <input type="text" value="{module_homecity}" maxlength="255" class="cat_textbox" id="ItemCity" name="ItemCity" /></td>
            </tr>
            <tr>
                <td><label for="ItemState">State</label><br />
                <input type="text" value="{module_homestate}" maxlength="255" class="cat_textbox" id="ItemState" name="ItemState" />
                </td>
            </tr>
            <tr>
                <td><label for="ItemZip">Zipcode/Postcode</label><br />
                <input type="text" value="{module_homezip}" maxlength="255" class="cat_textbox" id="ItemZip" name="ItemZip" /></td>
            </tr>
            <tr>
                <td class="hidden"><label for="FirstName">First Name</label><br />
                <input type="text" value="{module_firstname}" class="cat_textbox" id="FirstName" name="CAT_Custom_131511" maxlength="1024" /></td>
            </tr>
            <tr>
                <td><input type="submit" id="catcustomcontentbutton" value="Submit" class="cat_button" /></td>
            </tr>
        </tbody>
    </table>
    <script type="text/javascript" src="/CatalystScripts/ValidationFunctions.js"></script>
    <script type="text/javascript" src="/CatalystScripts/Java_DatePicker.js"></script>
    <script type="text/javascript">
//<![CDATA[
var submitcount45842 = 0;function checkWholeForm45842(theForm){var why = "";if (theForm.ItemName) why += isEmpty(theForm.ItemName.value, "Item Name");if (theForm.Days) why += isNumericIfVisible(theForm.Days, "days"); if (why != ""){alert(why);return false;}if(submitcount45842 == 0){submitcount45842++;theForm.submit();return false;}else{alert("Form submission is in progress.");return false;}}
//]]>
</script>
    <script type="text/javascript">
    jQuery("#ItemName").blur(function(){
        jQuery("#FirstName").val(jQuery("#ItemName").val());
</script>
</form>
</div>

Similar Messages

  • What's the best way to clone my boot drive?

    I just bought a new 500GB drive for my G4. What's the best way to clone my boot drive?
    Is there a way to put the new drive on the buss as a second drive and then copy everything from my boot drive to the new drive? How do I make the new drive bootable?
    Or
    Do I have to install OSX on the new drive, put the old boot drive on the buss as a second drive and migrate everything to the new drive with the Utilities Migration Assitant program?
    Are there programs available to make this easier? Where & how much?
    Thanks for any help I can get.

    bamim2:
    Dr. Smoke's FAQ Backup and Recovery has excellent advice on developing a backup strategy.
    You already have a larger extrnal HDD (Hopefully it is firewire?) The next step is to format and partition the HDD. (see step-by-step below). And thirdly you will need a good cloning utility. Carbon Copy Cloner has already been suggested, and the latest version is excellent. I, personally, prefer SuperDuper for its ease of use and efficiency. Both are great tools and relatively simple to use.
    I mentioned the hope that you have a firewire. One of the wonderful benefits of using an external firewire HDD for backing up is that you can make a bootable clone. This gives you an emergency boot drive in case of a problem. It also gives you an external device for running diagnostics and repairs from the extnernal to the computer and vice-versa.
    Congratulations on taking the first step toward securing your computer and your data!
    Formatting, Partitioning Zeroing a Hard Disk Drive
    Warning! This procedure will destroy all data on your Hard Disk Drive. Be sure you have an up-to-date, tested backup of at least your Users folder and any third party applications you do not want to re-install before attempting this procedure.
    Boot from the install CD holding down the "C" key.
    Select language
    Go to the Utilities menu (Tiger) Installer menu (Panther & earlier) and launch Disk Utility.
    Option for formatting an External HDD
    Connect external HDD to computer
    Turn on external HDD
    Start up computer and log in
    Go to Applications > Utilities > Disk Utility and launch DU.
    Select your HDD (manufacturer ID) in left side bar.
    Select Partition tab in main panel. (You are about to create a single partition volume.)
    Select number of partition in pull-down menu above Volume diagram.
    (Note 1: One partition is normally preferable for an internal HDD. External HDDs usually have more than one. See Dr. Smoke’s FAQ Backup and Recovery for tips on partitioning external HDD
    Note 2: For more partitions than one, after you have selected the number of partitions you can adjust the size of the partition by selecting the top partition and typing in the size; then move down if more adjustments need to be made..)
    Type in name in Name field (usually Macintosh HD)
    Select Volume Format as Mac OS Extended (Journaled)
    Click Partition button at bottom of panel.
    Select Erase tab
    Select the sub-volume (indented) under Manufacturer ID (usually Macintosh HD).
    Check to be sure your Volume Name and Volume Format are correct.
    Optional: Select on Security Options button (Tiger) Options button (Panther & earlier).
    Select Zero all data. (This process will map out bad blocks on your HDD. However, it could take several hours. If you want a quicker method, don't go to Security Options and just click the Erase button.)
    Click OK.
    Click Erase button
    Quit Disk Utility.
    Good luck.
    cornelius

  • Hi, we need to create the test environment from our production for oracle AP Imaging. we have soa,ipm,ucm and capture managed servers in our weblogic. can anyone tell me what is the best way to clone the environment, can I just tar the weblogic file syste

    Hi, we need to create the test environment from our production for oracle AP Imaging. we have soa,ipm,ucm and capture managed servers in our weblogic..
    Can anyone tell me what is the best way to cloning the application from different environment, the test and production are in different physical server.
    Can I just tar the weblogic file system and untar it to the new server and make the necessary changes?
    Can anyone share their experiences and how to with me?
    Thank in advance.
    Katherine

    Hi Katherine,
    yes and no . You need as well weblogic + soa files as the database schemas (soa_infra, mds...).
    Please refer to the AMIS Blog: https://technology.amis.nl/2011/08/11/clone-your-oracle-fmw-soa-suite-11g/
    HTH
    Borys

  • What is the best way to clone my iPad 2?

    We are currently rolling out 30 new iPad2s in our classrooms.  What is the best way to customize/confgure/clone 1 iPad and roll out those settings to the remaining iPads?
    I've tried using the backup and restore in iTunes however, I'm running in to the following issues:
    Backup has iOS 4.3.5, but when I restore from backup, it has iOS 4.3.3
    Backup has Facetime turned OFF, but when I restore from backup, it has Facetime turned ON.

    Thanks for the replies.
    I actually called apple support and the only response was to turn off the camera AND FaceTime in restrictions.  Meantime I've used a combination of the BACKUP and RESTORE FROM BACK UP and iPHONE CONFIGURATION UTILITY (enterprise support). Unfortunately there is no one simple solution.
    Example:
    iTunes backup and restore won't disable FaceTime, but using configuration profiles will.
    iTunes backup and restore let's you set a passcode for restrictions while allowing individuals to still change restrictions, but using configuration profiles will disable your selected restrictions.
    In both programs (iTunes and the invigoration utility) you have to update/install one at a time. There isn't a way to update a group of iPads at one time.
    Especially for use with apps in education/classroom settings, I hope apple figures out a better enterprise solution.

  • What is the best way to migrate from Forms to ADF?

    We are in a big quagmire. Our company has been into Oracle Forms development for over 15 years. We have applications developed in Forms 6i and 10g. We have about 5 products and these 5 products have about 25 to 30 different versions. i.e. we maintain about 30 different versions of our applications. Each version of the application has about 100 forms and 100 reports.
    Now, since Forms has come to the End of life from 11g we want to move to ADF. We tried Forms to ADF migration tools but failed. So now we have decided to manually rewrite the applications in ADF.
    Our Forms / PL/SQL developers, designers and analysts (total about 40) are all Oracle Forms people. They have no experience in Java.
    What I want to know is:
    (1.) What is the BEST way to achieve this?
    (2.) Do we have to learn Java, JSF and ADF?? (i.e. All 3)?
    (3.) Is it mandatory to learn JSF??
    (4.) Assuming, comprehensive training can be given, how long will it take for Forms people to learn ADF?
    (5.) What type of training will be required?? (Java, JSF, ADF, JDeveloper etc.)
    (6.) How LONG will this take? i.e. to train all 40 and then get rewrite an application of 100+ forms and 100+ reports? (Ballpark is OK).
    (7.) Any other technologies we should learn??
    Edited by: user12240205 on Jul 18, 2012 5:48 AM

    Obvoiusly the longer you have for training the better but I think the minimum would be
    1) Java skills - I think to start off, 1 or two days reading something like Head First Java http://www.amazon.com/Head-First-Java-Kathy-Sierra/dp/0596009208
    2) I'd then get "The Quick Start Guide to Fusion Development" http://www.amazon.com/Quick-Start-Oracle-Fusion-Development/dp/0071744282/ref=sr_1_1?s=books&ie=UTF8&qid=1343201618&sr=1-1&keywords=jdeveloper+quick (declaration: I'm the author so have a vested interest, but I still think its a good place to start. - this should be about 2-3 days to read and also to try things out.
    3) In parallel I'd be watching these ADF Insider Basics http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfinsider-093342.html#a1 - a couple of hours
    4) I'd then try this tutorial http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe11jdev/ps1/ria_application/developriaapplication_long.htm - 3 hours.
    5) Optionally, if you are coming from a Forms background I would also read http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/SummitADF/SummitADF_Redevelopment.pdf and watch http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/Forms_Redevelopment_ADF/Forms_Redevelopment_ADF.html - which is about 2 hours of work.
    I think this would be the absolute MINIMUM to at least be able to build some basic applications and to start feeling your way - everything else outlined in the "ADF COLLATERAL TOUR" http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADFTour/ADFTour.html could be learned as you start building some proof of concept. However, I'd wouldn't suggest you try building a real application with only one weeks exposure (in the same way I wouldn't expect you to design a product database with only one week training). I would probably expect your developers to have at least the above training and then spend about a month or so (minimum) building proof of concepts (or testing themselves with the ADF Insider Essentials Tasks). Furthermore, I'd probably expect you to have at least on senior developer/architect, with much more experience who can be making decisions on things like reuse, partitioning, architecture etc.
    Of course, this is all subjective but I hope it helps.
    regards
    Grant
    ps
    Of course, we also have formal Oracle University Training courses which you could attend (or they can be purchased to watch on line).

  • What is the Best Way to Display a ClobDomain Field on a jspx Page?

    I have a ClobDomain field in my table that I need to display in my jspx form. What is the best way to go about this? I can't just drag and drop the field from my View and place it onto the form.
    Thanks.

    Apply a swap image behavior to the image. DO NOT ENABLE THE
    AUTOMATIC
    RESTORE.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "BillC-Bos" <[email protected]> wrote in
    message
    news:gp0utj$rmk$[email protected]..
    >I have what I imagine is a simple challenge but I after
    reviewing the forum
    >and
    > the DW workspace it seems that the technique I might try
    in GoLive are not
    > really the best way to go.
    >
    > I have a small graphic that when clicked should change
    to a different
    > graphic
    > to indivate that the site's visitor already clicked that
    graphic (which
    > links
    > to a detail page). There are many detail pages and the
    solution to
    > providing
    > navigation from one main page drastically limits the
    amount of information
    > provided on the "master" page making it necessary to
    provide some way to
    > indicate to the visitor that they already selected that
    option - so they
    > can
    > either avoid that link or return to it if they wish.
    >
    > So the "master" page will show an image (icon) that will
    change once the
    > visitor has clicked it. I am not sure how best to make
    this happen and can
    > use
    > some help or guidance. Thanks in advance for you help.
    Be well.
    >
    > Bill C
    >

  • What's the best way to clone to another Mac with the same system id so I do not have to re-authorize plugins/programs?

    I was told in a different thread that cloning is my answer for my problem.  Once learning that, I checked around and saw people suggesting Super Duper over the Disk Utility option, saying that I will not have to re-authorize my programs.  That it's the easiest way to clone one computer to the next without the hassle of having to reauthorizing all my programs and plugins.  Is this true?

    Clones are clones. SuperDuper does nothing special that Disk Utility does not do.
    Clone using Restore Option of Disk Utility
    Open Disk Utility from the Utilities folder.
    Select the destination volume from the left side list.
    Click on the Restore tab in the DU main window.
    Check the box labeled Erase destination.
    Select the destination volume from the left side list and drag it to the Destination entry field.
    Select the source volume from the left side list and drag it to the Source entry field.
    Double-check you got it right, then click on the Restore button.
    Destination means the new computer. Source means the old computer.
    You can connect the two via Firewire cable if both computers have Firewire ports. If not, then you will need to use an external hard drive as an intermediary. Clone the old computer's drive to the external drive. Then restore the clone from the external drive to the drive in the new computer.
    Restoring the clone simply involves switching the Source and Destination.

  • 845E - What is the best way to clone a Hard Drive.

    I have a very noisy WD drive (drive A).  I purchased another drive - the exact same model and size (drive B).  
    What is the best was to move the entire contents from drive A to drive B, make drive B bootable and then to send the drive A back to the manufacturer?

    Partition Magic from Power Quest.
    Very powerful, does the job every time.

  • What is the best way to prompt a Form user to enter a value

    Hi,
    I apologize in advance if this topic has already been raised on the forum - I've done a search but couldn't find anything.
    Basically I would be interested in finding out if there is a 'best way' to prompt and accept an entered value from a user. I am just experimenting at the moment with asking a user to enter a date value which will then be used in code. I am running Form 9.0.4.
    Any suggestions or links would be gratefully accepted,
    regards,
    Kevin.

    I am rather puzzled by the question. Forms primary use is to accept user input, and then respond to that input. It is no wonder a search does not turn anything up.
    So there are a number of ways to accept input. The first that comes to mind is a simple input field on the canvas with some prompt text next to it.
    I don't think there really is a "best practice". It really depends on what your form is doing.
    If you explained what you mean by "which will then be used in code", or described what your form needs to do, then you would get some good suggestions.

  • What is the best way to clone a drive that is corrupted?

    I have an external hard drive that crashed during a power outage and got it mounted again with the help of diskwarrior, but I can't seem to drag files off of it to back them up. Is there a way to make an exact backup on a new drive so that I can remove the original from it's casing and attempt to put it into a new enclosure without the issue getting worse?

    As Shootist007 says, if it's so corrupted that you can't copy anything from it, it's unlikely that you'll be able to use some other utility to do the job.  Especially if repairing it with DiskWarrior didn't do the job.
    Ultimately, you need to keep backups of all your files, including those on an external hard drive.  Any files you don't have multiple redundant copies of, all on different media, are files you will lose eventually.
    If some of the files on that drive are irreplaceable, you could try recovery software.  See Recovering deleted files.  If that doesn't work, your only option would be an expensive data recovery service, which still can't guarantee anything.

  • HT1451 I need to move my library from my old computer to my new laptop. What's the best way to do this?

    I need to move my library from my old computer to my new laptop (Windows 8). What's the best way to do this?

    These are two possible approaches that will normally work to move an existing library to a new computer.
    Method 1
    Backup the library with this User Tip.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Restore the backup to your new computer using the same tool used to back it up.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    Both methods should give the new computer a working clone of the library that was on the old one. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase and reload.
    I'd recommend method 1 since it establishes an ongoing backup for your library.
    If you have an iOS device that syncs with contact & calendar data on your computer you should migrate this information too. If that isn't possible create a dummy entry of each type in your new profile and iTunes should offer to merge the existing data from the device into the computer, otherwise the danger is that it will wipe the information from the device.
    If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See make a split library portable.
    Should you be in the unfortunate position where you are no longer able to access your original library, or a backup of it, then see Recover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data. If you don't have any Apple devices then see HT2519 - Downloading past purchases from the App Store, iBookstore, and iTunes Store.
    tt2

  • I need to upgrade my harddrive, what is the best way to do it?

    Hi,
    I need to upgrade my hard drive - what is the best way to do it? Is it best to go to an Apple store or can I do it myself? How can I transfer current apps and data across
    I have a Macbook 13 inch I bought in 2009, it is not the Macbook Pro 13 inch model to be clear. It is running 64 bit Snow Lepoard 10.6.6. I have upgraded the RAM to 4 Gig so the performance is still good, but I am running out of disc space, hence the hard drive upgrade requirement.
    Many Thanks,
    Glenn

    Replacing a hard drive in a MacBook is very easy to do it yourself.
    To buy a hard drives try Newegg.com http://www.newegg.com/Store/SubCategory.aspx?SubCategory=380&name=Laptop-Hard-Dr ives orOWC http://eshop.macsales.com/shop/hard-drives/2.5-Notebook/
    Here's instructions on replacingthe hard drive http://creativemac.digitalmedianet.com/articles/viewarticle.jsp?id=45088
    To transfer your current hard drive I likeCarbon Copy Cloner. It makes a bootable copy of everything on your hard drive http://www.bombich.com/index.html You'll need a cheap SATA external hard drive case. Put the new drive in thecase and clone your old drive to the new one. Then replace your old hard drivewith the new one.
    I just bought this one off of ebay for $5.15 http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=130492731546&ssPageName=STRK: MEWNX:IT

  • What is the best way to back up my MacBook Pro (OSX 10.9.5) before taking it in for service?

    What is the best way to back up my MacBook Pro (OSX 10.9.5) before taking it in for service?

    While I have nothing against Time Machine (and I do use it on some of my systems), I always make a bootable clone before taking a Mac in for service (2 actually), and I verify that clone boots before I let the Mac leave.
    SuperDuper is free for a full clone (you only pay for incremental features).
    <http://www.shirt-pocket.com/SuperDuper/SuperDuperDescription.html>
    Carbon Copy Cloner provides a 1 month fully enabled demo mode before you have to buy the product or stop using it.
    <https://www.bombich.com/>

  • I want to sell my old macbook air, what is the best way to get my files and programs off of it?

    I am going to sell my macbook air (2011) as I am replacing it with a macbook pro retina. I want to remove my files and programs from it before I sell it. What is the best way to go about this?

    1) Perform a Time Machine or Cloned image backup of your system.
    2) Test the Clone tomake sure it works, by booting to it (using the option key).
    3) Boot to the Recovery Partition, then perform an erasure, followed by a reinstallation of the OS.
    4) Shut off the Mac, after instllation and before the reboot. This will permit the next user to experience a "fresh out of the box" experience.
    5) Use the Time Machine or Cloned image to migrate your apps, users & files to your new system, using SETUP ASSISTANT. Do not use Migration Assistant.

  • What is the best way to add hard disk space to macbook pro?

    I'm running out of disk space on my macbook pro. What is the best way to add disk space?

    another way of doing it is to replace your hard drive with a larger one.
    if you're technically capable, it takes 10 minutes for the swap and an hour minimum to clone your hard drive or do a data transfer.  all depends on how much data there is to trandfer or to clone.
    good luck.

Maybe you are looking for

  • Copy 0CO_OM_WBS_5 to get variances for Sale Order / Item

    Hi , I copied the existing 0CO_OM_WBS_5 extractor and modified it with a logic to bring the Result Analysis numbers for Sales Orders. But when trying to create a normal generic datasource with the FM  it is not allowing and giving me an error "E_T_DA

  • How does one see what tasks starts when on Mountain Lion?

    I have had a beachball problem for a number of weeks now, and still can not figure out what is going wrong after four separate Support Desk people and one Genius Bar visit -- maybe you, my friends in the Apple Support Communities, can help decypher t

  • How to merge partitions in Windows 7 ?

    Hi, i have partitions C and D. My problem in that C is smoler than D. How can i move some space to C from D or to merge this partitions? Thanks in advance,

  • Grouping for Business Content Installation

    I am on a BI 7.0 environment and i have to install cubes and DSO's from FIGL (General Ledger) and FI-FM (funds management). these include 0FIGL_C01, 0FIGL_VC1, 0FIGL_VC2, 0FIGL_O02 and 0FIFM_C01 and related DSO's. When installing these objects which

  • Additive costs

    Hi friends, We have an issue related to Additive Cost. some costs which have been put live in the system since go-live have used additive costs to deliver the fixed ohd into the product cost instead of the purchase order condition type and when condu