Need help with Add/Remove buttons work field

Someone here on the forums had previously helped me to get a button set up a form that would add an additional text field to a form.  I need now to a separate created button that will remove a text field in the case where too many have been added.  I hope someone can help me with this because my XML knowledge is virtually nil.  It's not like I can upload files to the forum here, so I'll try to paste my code.  I just need to get the "-" button to subtract a line.  Thanks in advance for the help.

-Chris

<? XML version = "1.0" encoding = "UTF-8"? >

<? XFA generator = APIVersion "AdobeLiveCycleDesignerES_V8.2.1.4029.1.523496" = "2.8.9029.0?" >

" < = xmlns:xdp xdp:xdp ' http://ns.Adobe.com/XDP/ " "timeStamp ="2010-06 - 28 T 16: 04:04Z" uuid = "081329f3-4914-4dde-87ae-75a83da8434e" >

" < model xmlns =" http://www.XFA.org/schema/XFA-template/2.6/ ">

<? formServer defaultPDFRenderFormat acrobat8.1static? >

< name of the subform = "form1" layout = "CT" local = "en_US" >

< Pagesand >

< name Pagearea = "Page1" id = "Page1" >

< contentArea x = 'No 19.05 mm' y = '12.7 mm"w ="190.5 mm"h ="266.7 mm"/ >

< average stock = "default" short = long "612pt" = "792pt" / >

<? templateDesigner expand 1? > < / pageArea >

<? templateDesigner expand 1? > < / Pagesand >

< subform w = "7.5" in h = "10.5" in name = "Page1" >

< subform w = y "174,625 mm" = "79,377 mm" name = "Current_Objectives" layout = "CT" >

< subform w = h "174,625 mm" = "9,522 mm' name = 'Objective' >

< = minH "txt_currobj" field name = '8,263 mm"w = mm"174,625">

< ui >

< textEdit multiLine = "1" >

< border >

<? templateDesigner styleId aped3? >

< STROKE edge = "lowered" / >

< / border >

< margin / >

< / textEdit >

< /UI >

< font size = cast '11pt' = "Verdana" / >

< topInset margin = ' 1 mm ' bottomInset = ' 1 mm ' leftInset = ' 1 mm ' rightInset = ' 1 mm "/ >

< para vAlign = "middle" / >

< caption reserve '7,76 mm' = >

< para vAlign = "middle" / >

< value >

< text > 1. < / text >

< / value >

< font size = cast '11pt' = "Verdana" / >

< / legend >

< activity = 'initialize' name = "event__initialize" >

< script contentType = "application/x-javascript" > this.caption.value.text.value = (this.parent.index + 1) + "."

< /script >

< / event >

< / field >

< occur max = "-1" / >

<? templateDesigner expand 1? > < / subform >

< field h = "5.08 mm" name = "curr_obj_add_line" w '5.08 mm' = >

< ui >

< button nail = 'push' / >

< /UI >

< character = "Arial" / >

< caption >

< value >

< text > + < / text >

< / value >

< para hAlign = "center" vAlign = "middle" / >

< character = "Arial" / >

< / legend >

< border = 'right' hand >

< STROKE edge = "raised" / >

< filling >

< color value = '212, 208, 200' / >

< / filling >

<? templateDesigner styleId apbx2? > < / border >

< link match = "none" / >

< help >

< toolTip > add < / ToolTip >

< / help >

< activity = "click on" name = "event__click" >

< script contentType = "application/x-javascript" >

_Objective.addInstance (1)

< /script >

< / event >

< / field >

< field h = "5.08 mm" name = "curr_obj_del_line" w '5.08 mm' = >

< ui >

< button nail = 'push' / >

< /UI >

< character = "Arial" / >

< caption >

< value >

< text > - < / text >

< / value >

< para hAlign = "center" vAlign = "middle" / >

< character = "Arial" / >

< / legend >

< border = 'right' hand >

< STROKE edge = "raised" / >

< filling >

< color value = "212,208,200" / >

< / filling >

<? templateDesigner styleId apbx2? > < / border >

< link match = "none" / >

< help >

< toolTip > delete an element < / ToolTip >

< / help >

< activity = "click on" name = "event__click" >

< script contentType = "application/x-javascript" >

_Objective.deleteInstance (1)

< /script >

< / event >

< / field >

<? templateDesigner expand 0? > < / subform >

<? templateDesigner expand 1? > < / subform >

< desc >

< name of text = 'version' > 8.2.1.4029.1.523496.503679 < / text >

< / desc >

<? templateDesigner expand 1? > < / subform >

<? templateDesigner DefaultLanguage FormCalc? >

<? templateDesigner client DefaultRunAt? >

<? Acrobat JavaScript strictScoping? >

<? templateDesigner Zoom 100? >

<? templateDesigner grid see the: 1, wink: 1, units: 0, color: ff8080, origin: (0,0), interval: (125000,125000)? >

<? templateDesigner 26 FormTargetVersion? >

<? templateDesigner 1 SaveTaggedPDF? >

<? templateDesigner 1 SavePDFWithEmbeddedFonts? >

<? templateDesigner horizontal management: 1, vertical: 1, guidelines: 1, crosshairs:0? > < / template >

" < config xmlns =" http://www.XFA.org/schema/XCI/2.6/ ">

< name of agent 'designer' = >

PDF of < destination > < / destination >

< pdf >

<!-[0 n]->

< fontInfo / >

< / pdf >

< / agent >

< date >

<!-[0 n]->

< pdf >

<!-[0 n]->

< version > 1.7 < / version >

< adobeExtensionLevel > 1 < / adobeExtensionLevel >

< / pdf >

< common / >

< script >

Server < runScripts > < / runScripts >

< /script >

< xdp >

packs of <>* < / packages >

< / xdp >

< / date >

<? originalXFAVersion http://www.XFA.org/schema/XCI/2.8/ ? > < / config >

" < Romagna xmlns =" http://www.XFA.org/schema/XFA-locale-set/2.6/ ">

<? originalXFAVersion http://www.XFA.org/schema/XFA-locale-set/2.6/ ?>

< name of locale = 'en_US' desc 'English (United States)' = >

< name calendarSymbols = "Gregorian" >

< monthNames >

< month > January < / month >

< month > February < / month >

< month > March < / month >

< month > April < / month >

< month > may < / month >

< month > June < / month >

< month > July < / month >

< month > August < / month >

< month > September < / month >

< month > October < / month >

< month > November < / month >

< month > December < / month >

< / monthNames >

< abbr monthNames = "1" >

< month > Jan < / month >

< month > Feb < / month >

< month > Tue < / month >

< month > after < / month >

< month > may < / month >

< month > Jun < / month >

< month > Jul < / month >

< month > August < / month >

< month > Ms < / month >

< month > Oct < / month >

< month > Nov < / month >

< month > Dec < / month >

< / monthNames >

< dayNames >

< day > Sunday < / day >

Monday < day > < / day >

< day > Tuesday < / day >

< day > Wednesday < / day >

< day > Thursday < / day >

< day > Friday < / day >

< day > Saturday < / day >

< / dayNames >

< dayNames abbr = "1" >

< day > Sun < / day >

< day > LUN < / day >

< day > Tue < / day >

< day > sea < / day >

< day > set < / day >

< day > sat < / day >

< day > Sat < / day >

< / dayNames >

< meridiemNames >

< meridiem > AM < / meridiem >

< meridiem > AM < / meridiem >

< / meridiemNames >

< eraNames >

< age > BC < / era >

< age > AD < / era >

< / eraNames >

< / calendarSymbols >

< datePatterns >

< name datePattern 'full' = > EEEE, MMMM D, YYYY < / datePattern >

< name datePattern = "long" > D MMMM, YYYY < / datePattern >

< name datePattern "med" = > MMM D, YYYY < / datePattern >

< name datePattern "short" = > d/m/YY < / datePattern >

< / datePatterns >

< timePatterns >

< name timePattern 'full' = > SS A Z < / timePattern >

< name timePattern = "long" > SS A Z < / timePattern >

< name timePattern "med" = > SS A < / timePattern >

< name timePattern 'short' = > h: mm A < / timePattern >

< / timePatterns >

< dateTimeSymbols > GyMdkHmsSEDFwWahKzZ < / dateTimeSymbols >

< numberPatterns >

< name numberPattern 'digital' = > z, zz9.zzz < / numberPattern >

< name numberPattern = "currency" > $z, zz9.99 | ($z, zz9.99) < / numberPattern >

< name numberPattern = '%' > z, zz9% < / numberPattern >

< / numberPatterns >

< numberSymbols >

< name numberSymbol 'decimal' = >. < / numberSymbol >

< numberSymbol = "group" name >, < / numberSymbol >

< name numberSymbol = '%' > % < / numberSymbol >

< numberSymbol name = 'less' > - < / numberSymbol >

< numberSymbol name = "zero" > 0 < / numberSymbol >

< / numberSymbols >

< currencySymbols >

< currencySymbol = 'symbol' name >$ < / currencySymbol >

< name currencySymbol = "isoname" > $ < / currencySymbol >

< currencySymbol = "decimal" name >. < / currencySymbol >

< / currencySymbols >

<>fonts

< name of font = 'Myriad Pro' / >

< name of font = "Minion Pro" / >

< name of font = "Courier Std" / >

< name of font = "Adobe Pi Std" / >

< name of font = "Adobe Hebrew" / >

< name of font = 'Adobe Arabic' / >

< name of font = 'Adobe Thai' / >

< name of font = "Kozuka Gothic Pro - VI M" / >

< name of font = "Kozuka Mincho Pro - VI R" / >

< name of font = 'Adobe Ming Std L' / >

< name of font = "Adobe song Std L" / >

< name of font = "Adobe Myungjo Std M" / >

< / font >

< / locale >

< / Romagna >

< xmlns: x x: xmpmeta = "adobe: ns:meta / ' x: xmptk =" Adobe XMP Core 4.2.1 - c041 52.337767, 2008/04/13-15: 41:00 ">" "" "

" < RDF: RDF = xmlns:rdf ' http://www.w3.org/1999/02/22-rdf-syntax-ns# ">

" < Xmlns:xmp = RDF" http://ns.Adobe.com/Xap/1.0/ "rdf: about =" "> "

< xmp:MetadataDate > 2010-06-28 T 16: 04:04Z < / xmp:MetadataDate >

< xmp:CreatorTool > Adobe LiveCycle Designer ES 8.2 < / xmp:CreatorTool >

< xmp:ModifyDate > 2010-06-28 T 11: 28:54 - 04:00 < / xmp:ModifyDate >

< xmp: CreateDate > 2010-06-18T 11: 45:23 - 04:00 < / xmp: CreateDate >

< / RDF: Description >

" < Xmlns:pdf = RDF" http://ns.Adobe.com/PDF/1.3/ "rdf: about =" "> "

< pdf:Producer > Adobe LiveCycle Designer ES 8.2 < / pdf:Producer >

< / RDF: Description >

" < Xmlns:xmpMM = RDF" http://ns.Adobe.com/Xap/1.0/mm/ "rdf: about =" "> "

< xmpMM:DocumentID > uuid:081329f3-4914-4dde-87ae-75a83da8434e < / xmpMM:DocumentID >

< xmpMM:InstanceID > uuid:4d9ea5d0-fbf1-4be5-8aa5-b9c828a765e9 < / xmpMM:InstanceID >

< / RDF: Description >

" < Xmlns = RDF" http://purl.org/DC/elements/1.1/ "rdf: about =" "> "

< dc:format > application/pdf < / dc:format >

< / RDF: Description >

" < Xmlns:desc = RDF" http://ns.Adobe.com/XFA/promoted-desc/ "rdf: about =" "> "

< desc:version rdf:parseType = "Resource" >

< rdf: value > 8.2.1.4029.1.523496.503679 < / rdf: value >

< desc:ref >/template/subform [1] < / desc:ref >

< / desc:version >

< / RDF: Description >

< / RDF: RDF >

< / x: xmpmeta >

" < xfdf xmlns =" http://ns.Adobe.com/XFDF/ "XML: Space ="preserve"> "

< annots / >

< / xfdf > < / xdp:xdp >

Hello

It is difficult to see the XML Source what is happening. There are sites like YouSendIt.com or Acrobat.com where you can download files from file sharing.

In any case, I see the Add button, then the delete row button would look like:

_Objective.removeInstance(this.parent.index);

The underscore character is a shortcut for instanceManager. I suspect that the goal is the repetitive element. It is easier to include the button Delete a row in the repeating line, in this way the user can select which line they want to delete.

There is an example here: https://acrobat.com/#d=tdpzltrl25yU2PkvgaQO9w

Look in the click event of the button 'X '.

Good luck

Niall

Tags: Adobe LiveCycle

Similar Questions

  • Need help with validity sensors, drivers works... software?

    I bought a HP Pavilion dv6tse-3000 Select Edition laptop PC in August of this year, and it came with Windows 7 Home Premium. I started school in September and got a licensed copy (true of course) of Windows 7 Professional edition (the one that comes with a remote server through VPN), and finally I had just enough time on a weekend open to install it.

    Thing is, which is the edition that my school licensing is NOT a version upgrade, rather a full version requiring a clean wipe of my HARD drive. Anyway, this led to erase me my disc to install, leaving the drivers must be reinstalled.

    So I reinstalled all the off-site Internet HP specialized for my computer and my copy of Windows 7 64 bit, and everything is pretty much in working condition and return to the same except for two things...

    The first would be Smart Menu of HP I think as they call it, mainly the small poster that come on the screen when you press the hardware buttons like volume up/down or mute, etc. That isn't really a huge problem, but if someone knows how to get back them please share

    The biggest problem is the validity sensors/finger printer scanner that my laptop is equipped. I installed the latest drivers from the HP site, and it seems as if they installed smoothly, they appear in my add/remove program Panel and Device Manager shows that it works, but the problem is how I use it now? I used to scan my finger to simply log into Windows and unlock my account instead of using a password and scan on websites that require log ins, but this Panel is now gone!

    HOW CAN I GET THAT BACK?

    Thank you

    You can download HP SimplePass from here ftp://ftp.hp.com/pub/softpaq/sp50001-50500/sp50048.exe

  • Need help with the removal of the media files on my personal computer

    I downloaded a media file and try to delete but asking special permission on my own computer and he repeats to me try again. I need help to remove this media file. Thank you very much

    You could try renaming the file, including the extension and then delete. Which can sometimes do the trick.
    If not, what type of file is and what about size? And logged as administrator?

  • Flash CS5 beginner - need help with Add URL link animated banner

    I apologize if this is a very basic question, but I am a newbie in Flash design. I created a basic animation in Flash CS5 and I need to add a clickable URL link. I tried a few tutorials that seemed promising, but none of them solved my problem. I tried a number of things, including the conversion to parts or all of the simple images buttons or movies and linking them this way as well as type in the code ActionScript 2 and 3, which none was successful. The animation plays correctly in my browser, but when I click it, the link does not work. I wish that the entire banner clickable to take viewers to the website linked instead to use the text of the hyperlink. Also, when I open the Code snippets window, it is empty, any image or image I selected. Do I need to import snippets of code somewhere or just will I things the wrong way? Any help is greatly appreciated!

    go to your help section and search the reference Guide of Action Script 3.  It is the repository of all the possibilities of ActionScript with Flash and Flex.  You can consult the alphabetical index URLRequest and navigateToUrl.  There could even be code samples included.  I haven't looked right, but you'll probably get before doing so.

    Best,

    -markerline

  • Need help with the removal of a document. Ask if I want to delete, click Yes, but will not remove.

    I have a photosmart 4580 printer. When a document has been interrupted for some reason, I can't delete it. Other ducuments can be deleted, but this one remains. Can't print other documents until it is removed, but I can't remove. Help please

    Hello
     
    In Control Panel, open administrative tools and select abuse.  Scroll down to the print spooler service, right click and select Properties, then click the Stop button.  Now search for C:\Windows\System32\Spool\PRINTERS, then delete the work inside this folder - you may need to click a command prompt to get the authority to open the PRINTERS folder.
     
    Restart the computer and you should find that the documents have been deleted.

    Kind regards
     
    DP - K

  • I need help with the removal of "all records associated with my domain name.

    Hello

    I have some problemsthe same exact problem like Daren... set up my site to go live. Here's what I've done so far:

    (1) built the site and pushed it live

    2) updated the site

    (3) put in place a GoDaddy domain name

    (4) set up servers on GoDaddy

    (5) put in place the account information associated with British Colombia

    And then... nothing.

    I then removed from the area and tried to repeat the process, in case I missed something, but now I can not put in place a new area and get the error "field already exists. Please delete all the records associated with this area. What records? What does this even mean?

    Anyone can guide me please you through the steps to get this live site?

    Thank you!

    Alex

    The field works on my end.

    It just a delay which should get fixed in a few hours.

    Give it some time and check again.

    Thank you

    Sanjit

  • Need help with the sRGB setting works correctly.

    After reading a lot of comments from all kinds of sources, I decided for my purposes, it is best to put my Photoshop CS4 in sRGB. The problem I have is that often if I drag and drop an image as a new layer on another image I get a warning asking me if I don't know I "want to convert colors to a destination document with a color profile that does not match the current RGB workspace?"  She continues to tell me that my source is sRGB IEC61966 - 2.1 and that my destination is Adobe RGB (1998) and that the work is sRGB IEC61966 - 2.1.   Given that I put my Photoshop under Edit > settings of colors of sRGB IEC61966 - 2.1 and I have my camera to sRGB color I wonder why the window tells me that my destination is Adobe RGB (1998).  I initially shot in RAW and then open my photos in Camera Raw in Bridge and when I'm done with whatever changes, I want to do I simply 'Open Image' which, of course, it will open in CS4 where colors, is once again, sRGB.  What else do I need to change to get all operating under colour adjustment sRGB?

    Thanks for any help you can give.

    The color camera setting applies only to JPEG files as you shoot.

    If you shoot in RAW, then your image has a color space that is applied until you open it in Photoshop.

    At the bottom of your Camera Raw window is a hot blue link. Click it to open the workflow Options.

    Here, you can change the color space, Bit depth. Size and resolution that your image open in Photoshop.

    These settings in ACR to override settings you have for your default color space in Photoshop

    .

    Post edited by: Bo LeBeau
    changed color in the color space mode,

  • Need help with the removal of Trojan.win32.playdun.A

    I have Trojan active on windows 7, MSE captures the Trojan horse, I click to remove all to see when I scan again, he appears once again, he comes up with the name Trojan.win32.playdun.A, serious, he drives me crazy, as it has been picked up 4 times with 4 scans, any help would be appreciated.

    Only a shot wild, I really don't know, but try:

    Update your MSE FRONT a new analysis. When update is complete, Disconnect your internet connection of the computer. After the update, just turn off the power to your router. Scanner not connected to internet...

    When the scanning is finished, analysis still, and if his statements, try Malware Bytes Antimalware, the one free, if you do not already have this, for 0, get it here: https://www.malwarebytes.org/mwb-download/ of course, go on the net again - He - he! :-) During the installation of Anti-Malware, remember to uncheck the "Get free Trial»

    1. Turn off your computer.
    2. Turn on your router - wait that the lamp flashes and lightning as they normally...
    3. When it flashes and lightning normally, turn on your computer...

    If you turn off your computer before you turn on the router, it can be difficult to get it online again.

  • Need help with text, list drop-down fields please. Adobe Acrobat Pro 11

    Hi I created a form with drop down menus and multi line text boxes. I first created a text box and then copied and pasted to save time. The only problem I have now is when I type in the text box or select an option from a drop of water in the menu drop down, it changes all the text boxes and drop-down menus. See photo. I really want to create this form again. I realease if I rename each being sort however I would really like to have the same name. Please help if you can.

    Screen Shot 2013-04-19 at 12.11.30 AM.png

    Also my text is quite blury? have no idea why.

    Here's what I did.

    -Preferences

    -Text smooth

    -Computer/laptop LCD screens

    (see the picture of my current settings).

    Screen Shot 2013-04-19 at 12.11.30 AM.png

    Thanks for your help

    Thank you Bernd,

    Everything has changed and works... appreciate your help.

    You have no idea on why it looks blury do you have?

  • Need help with Motion Tracking-button in After Effects CS6

    Hello I just bought After Effects cs6 and wanted to try 'motion tracking' but I can't just push the button of motion tracking. Is there anyone who can help me with this problem?

    The responses are much appreciated!

    Are you following the instructions here?

  • I need help with something I'm working on (complete noob).

    Hello the Flash forum people, I'm here and I love you. (seriously, I am grateful for your dedication in forums like these.)

    I'd appreciate comments on this 'project', I want to finish. Since then, I almost never finished anything, that would mean loads for me.

    OK, so where to start...

    The design. The design is quite simple - basically it's ice on the top of the image and the flames at the bottom of the image. The ice cubes are made up of layers of 6-8; The problem is once you merge layers, the ice cube effect is drastically changed and looks really bad. Ice cubes have a layer of "Tag" which is located under the layers of ice and is like, well, a fund specially for the ice. The flames are made up of only 2 or 3 layers; No problem with the merger of these layers. They also have a "plate".

    The image was filed in Photoshop and amounts to a reasonable size 990 kb once "saved for Web and devices."

    I hoped that Flash could do for me. I was hoping I could animate the layers 'Plate' and I have a sort of effect 'Streaming Glow'. After that, I was hoping to add a drop of two of the ice, drip and then hit the flame and creating increased smoke effect. Once this done, I want to use the design as a background for a Web site. I was hoping I could get the parties animated running separately (on top of) the design of JPEG.

    My struggles. I'm not entirely sure where to start and I could use a modicum of 1 to 1. Apologies if my description is not sufficiently specific for a good inside look.

    Thank you

    Dan.


    I wouldn't recommend that you try to remove this yourself in a single layer flattened like you talk basically implement something like effects of Pixel Bender that aren't on the beginner to put side. Their animation in flash on a timeline is more your level.

    You can also do a simple google search for plugins (free for commercial purposes) in order to achieve the effect, but it will come down to some codes. The plugin this encoding may be simple or difficult. As they say, anything worth doing is worth doing right that requires experimentation and perspiration.

  • Need help with weird BACK button

    Hi, I'm doing a Flash banner online.  My employer needs a tag click on put in but also wants a replay button that will go to frame 1 and replay the animation (I already have a stop on the last frame action).  I'm using Actionscript 2 btw (I must according to the instructions of the employer). What I did for the link button that requires the click tag, I created a box about the size of the entire banner, drew another small box on top of it that is directly above hence is the play button, then I deleted the smaller box, creating a hole in the largest area where is BACK button.  I then did the big box a button, dragged the high State to the State of positioning, then back on the stage 1 following required, click tag, I added:

    (release)

    {
    If (clickTAG.substr (0, 5) == "http:")
    {getURL (clickTAG, "_blank");

    } / / end if

    }

    It's par for the course on how to get banners here (like make a button the size of the ad and adding the click tag to it, but I did not yet a BACK button). Then I created a small oval in the hole where the big button was, it's a button, put "Replay" on it, then return to scene 1 added the following code:

    {We (reslease)}
    gotoAndPlay (1);
    }

    But when I go to the banner, the replay button does not work and I get the following errors for the 3 lines of code:

    Specified invalid mouse event. Statement must appear in the Manager

    And did you really use this code (spelling and syntax errors):

    {We (reslease)}
    gotoAndPlay (1);
    }

    It should be:

    {We (Release)}
    gotoAndPlay (1);
    }

  • Need help with buttons!

    Hello someone!

    The thing that I would need help with is the buttons that moves... Say there are 2 buttons on the stage, when someone clicks the button, the button from left to right movement and opens something when it stops there. So long it's fine for me, but now the peal problem.

    The thing is I want the button now on the right rear to place there where appropriate when I click on a button of the second (and it goes right to the place). When I do now the first button remains in place right... Do someone know what to type in Actionscript?

    Please help me... [email protected]

    what you use now which causes your keys for you move?

  • Need help to get cc to work again on my desk, I move something and he couldn't get off work. Thank you

    Need help with getting creative to work cloud

    Launch the Office CC (applications tab) and try to go into preferences and exit - click the settings (gear icon), and then connect again.

  • New to Livecycle - I can't figure out how to get my Add/Remove buttons to work

    Hi, I took a course intro Livecycle of work and now I'm supposed to create all these new forms in Livecycle. I have tried to teach me but am a complete road block on how to get my line Add/Remove buttons to work. I have script them and I think that the first row of the table must be in a subform for them to work? but I can't do it all...

    Any help would be much appreciated

    Hello

    There is here an example that leads you through the steps of construction of the dynamic tables: http://assure.ly/gk8Q7a.

    If you use the table object, you don't need to wrap in a subform. If you select the rank in the hierarchy, you can go to object > Binding palette and assign Repeatable.

    The other question is to ensure that the form is saved in a dynamic form of XML in the Save - as dialog box.

    Hope that helps,

    Niall

Maybe you are looking for