How do I add and remove text in a text field with a checkbox?

How do I add and/or remove text in a text field with a checkbox?
this is my script in the text box......
event.value="Hello, this is my narrative. \r\n\nFamily: \r\n\n" + this get.Field("FirstName").value + " " + this.getField("LastName").value + was born on"=this.getField("DOB.value + "\r\n\n + this.getField("drpField").value + "\r\n\n" + this getField("Father").value
The text box looks like this...
Hello, this is my narrative.
FAMILY:
John Smith was born on 08/02/2000
Boby Lou
Jack Smith
I need to add/or remove the father field (Jack Smith) & r/n/n with a check box.
Does anyone know how to do this?

There are multiple errors in your code...
Use this code instead (adjust the name of the check-box):
var msg = "Hello, this is my narrative. \r\n\nFamily: \r\n\n" + this get.Field("FirstName").value + " " + this.getField("LastName").value + was born on" + this.getField("DOB.value) + "\r\n\n" + this.getField("drpField").value;
if (this.getField("FatherCheckBox").value!="Off")
     msg += "\r\n\n" + this getField("Father").value;
event.value = msg;

Similar Messages

  • How do you add and remove links to websites in folders on Safari?

    How do you add and remove links to websites in folders on Safari?

    For clarification, works like a bookmark of website only it is listed in toolbar with "Most Visited", "Latest Headlines", "News", and "Popular".  I have done it before but can't find it for the life of me.
    Thanks!

  • How do I add and remove mp3s from my iPhone?

    I've forgotten again how to add and remove mp3s from my iPhone.  Can someone please remind me?  I am an iTunes subscriber using a PC running Windows 7 and iTunes 11.1.

    dj003 wrote:
    Where are all these places, and how do I do it, step-by-step?  I really have zero understanding at all.  I know how to drag-and-drop mp3s onto my Sandisk mp3 player.  It's basically one-step.  I can't figure out how this is done in iTunes for an iPhone.
    Make sure you have iTunes 11.1.1 installed on your computer.
    Plug your iPhone into your computer.
    Open iTunes. Create a new Playlist and name it whatever you want. I use iPhone Sync.
    Go to your Music Library, click and drag the music you want into your new Playlist.
    Click on your iPhone along the top right. Click on Music and select Sync Music and choose just the new Playlist.
    Click on the Sync button on the bottom right of the iTunes screen.

  • How do I add and remove music from iTunes in iPhone?

    I've been having trouble with my phone memory (16gb) being used up by music. I recently change setting to have it covert higher bit songs to 128 kbps which seemed to help.
    I just converted to new iOs 7 and it started downloading all music from iTunes in my laptop—which overfilled the memory again.
    I tried to go to manual sync and now I cannot see how to add or remove any music (and can't see the bar at the botto of the summary page which should tell me how the memory space is being used and what is available.

    I don't know. It seeme to disappear after I check that I would manually sync.

  • How can I add and remove from arrays?

    I made a little thing that has to do with badges. Theres 6 badges, and they load out with attachMovie. I want to be able to change the badges, so how would I be able to change things in an array? Like adding and removing numbers in it.

    Look up the Array class in the help documents and go thru all of the various methods available for it.  All of the adding and removing things methods will be there.

  • How can I add and remove items from the bookmarks toolbar?

    I want to remove items from the bookmarks toolbar and add ones that I use on a regular basis. How can I do this?

    See:
    *https://developer.mozilla.org/en/Chrome
    *http://en.wikipedia.org/wiki/User_interface_chrome#User_interface_and_interaction_design

  • How do I add and remove icons from my Mac Air desktop?

    i downloaded Abode Acrobat and it left an icon on my Mac Air desktop.  I  would like to remove it.  Also, how do I put an icon on the desktop for ready reference later?  

    1. Drag the icon to the Trash.
    2. Drag the icons there, with or without pressing the Option and Command keys while dragging.
    (69094)

  • How do I add and remove custom mail sounds

    I have a custom mail sound that I would like to remove from Apple mail. I have another sound that I would like to add to mail.
    There was a web site that explained how to do this for 10.4 but I cannot find a procedure for doing it with 10.5.

    I'm wondering if Apple changed how these sounds are done from 10.4 to 10.5
    I actually replaced one custom sound with the very same custom sound, this seems to have solved my problem.
    Thank you for taking the time to help me.

  • How do I add and remove songs from my iPhone through iTunes.

    I'm sure it seems pathetically simple if you know how to do it, but I've just spent too much time trying to figure out how to remove songs from my music player on my iPhone.

    Open itunes, connect iphone, select what you want, sync.
    iOS: Syncing your data with iTunes - Support - Apple

  • How do I do to add and remove Shape3D objects dynamically from TransfGroup?

    Hi, everyone,
    How do I do to add and remove Shape3D objects dynamically from TransformGroup?
    I have added two Shape3D objects in the TransformGroup and I wanted to remove one of it to add another. But, the following exception occurs when I try to use �removeChild� :
    �Exception in thread "AWT-EventQueue-0" javax.media.j3d.RestrictedAccessException: Group: only a BranchGroup node may be removed at javax.media.j3d.Group.removeChild(Group.java:345)�.
    Why can I add Shape3D objects and I can�t remove them? Do I need to add Shape3D object in the BranchGroup and work only with the BranchGroup? If I do, I think this isn�t a good solution for the scene graph, because for each Shape3D object I will always have to use an associated BranchGroup.
    Below, following the code:
    // The constructor �
    Shape3D shapeA = new Shape3D(geometry, appearance);
    shapeA.setCapability(Shape3D.ALLOW_GEOMETRY_READ);
    shapeA.setCapability(Shape3D.ALLOW_GEOMETRY_WRITE);
    shapeA.setCapability(Shape3D.ALLOW_APPEARANCE_READ);
    shapeA.setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
    Shape3D shapeB = new Shape3D(geometry, appearance);
    shapeB.setCapability(Shape3D.ALLOW_GEOMETRY_READ);
    shapeB.setCapability(Shape3D.ALLOW_GEOMETRY_WRITE);
    shapeB.setCapability(Shape3D.ALLOW_APPEARANCE_READ);
    shapeB.setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
    BranchGroup bg = new BranchGroup();
    bg.setCapability(ALLOW_CHILDREN_READ);
    bg.setCapability(ALLOW_CHILDREN_WRITE);
    bg.setCapability(ALLOW_CHILDREN_EXTEND);
    TransformGroup tg = new TransformGroup();
    tg.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    tg.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
    tg.setCapability(TransformGroup.ALLOW_CHILDREN_READ);
    tg.setCapability(TransformGroup.ALLOW_CHILDREN_WRITE);
    bg.addChild(tg);
    tg.addChild(shapeA);
    tg.addChild(shapeB);
    // The method that removes the shapeB and adds a new shapeC �
    Shape3D shapeC = new Shape3D(geometry, appearance);
    shapeC.setCapability(Shape3D.ALLOW_GEOMETRY_READ);
    shapeC.setCapability(Shape3D.ALLOW_GEOMETRY_WRITE);
    shapeC.setCapability(Shape3D.ALLOW_APPEARANCE_READ);
    shapeC.setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
    tg.removeChild(shapeB);
    tg.addChild(shapeC);Thanks a lot.
    aads

    �Exception in thread "AWT-EventQueue-0"
    javax.media.j3d.RestrictedAccessException: Group:
    only a BranchGroup node may be removed I would think that this would give you your answer -
    Put a branch group between the transform and the shape. Then it can be removed.
    Another thing you could try: This doesn't actually remove the shape, but at least causes it to hide. If you set the capabilities, I think you can write the appearance of the shapes. So, when you want to remove one of them, write an invisible appearance to it.

  • How to remove Java Applications from "Add and Remove Programs" list?

    I have deployed my Java applications (both JWS and Applet) via JNLP with allow-offline option enabled and without installer-desc option specified.
    My questions are:
    1. An entry is added to the Add and Remove Programs list after launching the application via JNLP. Is it due to the specification of JNLP or JWS? Is there anyway to prevent this behavior?
    2. I removed my application by clearing the cache via Java Control Panel but the entry for the application is still listed in Add and Remove Programs. How can I remove the entry in the Add and Remove Programs?
    I have tried following methods but neither works:
    1.Go to Add and Remove Programs, and click [remove] button to the right of my application.
    *Warning message like 'Application cannot be uninstalled completely' is thrown.
    2.Follow instructions listed @ [Microsoft Online Support site|http://support.microsoft.com/kb/314481/en-us] to remove my application manually via Windows registry.
    *Couldn't find appropriate registry entry to delete.
    Thanks in advance!

    Hi, guys!
    This issue has been officially approved as a new bug (Bug Id: 6946221) for the JDK 1.6_20(might include any release below) release.
    It will take a couple of days for it to be shown up in the external Bug database. However, once it becomes available for viewing on external Bug database.I would like to encourage your valuable participation to vote on this bug to get it fixed ASAP by the SUN developer teams.
    Java Bug Database @
    [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6946221|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6946221]
    Voting for the bug @
    [http://bugs.sun.com/bugdatabase/addVote.do?bug_id=6946221|http://bugs.sun.com/bugdatabase/addVote.do?bug_id=6946221]
    Thank you for your cooperation!
    Edited by: Jay-K on Apr 23, 2010 12:14 AM

  • How am I able to add and remove people from a group message?

    How am I able to add and remove people from a group message?

    You'd need to start a new thread.

  • How do I remove Bing from my toolbar at the top of the page. I have already tried both of the suggestions given in the help section; I could not find Bing in my control panel "add and remove programs," and there was one other suggestion which I also tried

    ''locking due the age of this thread - asked and answered''
    I have tried all of the suggestions given by FF in order to remove Bing from my computer but nothing seems to work. I would appreciate some advise. For instance when I go to add and remove programs I can't even find Bing listed. Looking forward to your suggestions. Thanks.
    == This happened ==
    Every time Firefox opened
    == I first installed Firefox

    Right click "Tools". Uncheck "Search Toolbars".

  • How do I add and or remove grid lines in numbers

    How do I add or remove grid lines in numbers.

    See this thread:
    https://discussions.apple.com/thread/6546166?q=Numbers%20gridlines
    Post back if you still have questions.

  • Add and remove modules in Apache

    Is it possible to add and remove modules within Apache (actually compile an relink Apache) with a source download form Apache.org (1.3.28?) and incorporate the necessery modules and configuration from Oracle?. I have looked for some kind of documentation for this, but ended up with nothing. Can anybody explain this?.

    If you really understand apache and how oracle implements the apache server then yes you could add/remove modules if you have the source code from oracle. I dont think that you can download apache1.3.28 from apache.org and expect to use that source to build an executable that can plug into oracle.

Maybe you are looking for

  • How to setup an on demand web connection?

    Hi there, I would like my N8 to connect to the net only when a connection is requested and then close the connection when the request is finished. The only widgets requiring connection being active on my screens are the 3 ones for emails. Email is se

  • Scrambled order of images via Apple TV from shared folder

    When I select a folder of images on my computer which are sorted in ascending number in the folder, the set of images I then view on my TV is partially scrambled!  Why don't they appear in the numeric order which I created in the folder?  I have adde

  • Table that contains the change date for every cost element

    Hi everyone! Can anyone please help me find a table which contains the change date for every cost element? Thanks,Jess

  • Wrong total in Account hierarchy

    Hi I have 2 application where the only difference is that one is YTD (Legal reporting) the other is Periodic (Forecast). They have exactly the same dimensions and are in the same AppSet. My problem is that the total for my P&L is different eventhough

  • Size difference for expdp estimate and from data dictionaries

    Hello We have one large table with around 70 million rows and when we check size of this table using query as below select sum(bytes)/1024/1024/1024 "size in GB" from user_segments where segment_name='MYTABLE'; we got expected size 17GB. However, whe