Reset Image Field - HELP!

I'm trying to create a button that will selectively reset certain fields when pressed. I'm using ResetData and it seems to be working fine for all of my text, date and pulldown fields, but I can't get it to reset the image field. I've checked the spelling of the field and all other info... is there something I'm missing?

I solved my own problem after a great deal of searching. I'm still not sure if that was a bug or if I misunderstood the resetData usage. However, for future searchers here's how I solved the problem.
On the MouseUp event, I used resetData to clear all of the text and pulldown fields (this doesn't seem to work for my image field). So then, on the Click event, I added:
ImageFieldName.rawValue = null; (where ImageFieldName is the name of the image field I want to reset)
That seemed to do the trick.

Similar Messages

  • Resetting an Image Field

    Hey everyone,
    I have created an interactive form in Adobe Designer 7.0 for my company with text fields and two image fields.  After the form had been filled in and the images added, the user has the option to submit, print or reset.
    Everything works perfect except when the reset button is clicked, only the text fields are cleared and the two images remain.
    How can i get it so that the whole form is reset?
    Thanks in advance
    Ryan

    Thanks Niall,
    I am quite new to this and am not familiar with javascript at all.  I have created the form so far only using the text and image fields available to me in the designer 7.0 library.  Are you saying i will have to add the string of code that you provided in the XML source tab myself?  If so, could you please show me how it should be entered.  Im a little out of my depth with this so any help would be great.
    This is the what i think the reset script is.... i may be wrong, if it is, how is the code you provided added to it?
    Thanks
      <field xmlns="http://www.xfa.org/schema/xfa-template/2.2/" h="6mm" name="ResetButton1" w="28.575mm" x="171.45mm" y="260.35mm">
                <?templateDesigner isResetFieldsObject true?>
                <ui>
                   <button/>
                </ui>
                <font typeface="Myriad Pro"/>
                <caption>
                   <value>
                      <text>Reset Form</text>
                   </value>
                   <para hAlign="center" vAlign="middle"/>
                   <font typeface="Myriad Pro"/>
                </caption>

  • Need help deleting an image field/pictures in worksheet

    I am in need of help!!! Added photos in an important .pdf document (a worksheet form that was pre-made) and I added image fields (Top box photo and small bottom box for text). I need to delete some image fields now and it won't let me. I upgraded my Adobe Reader to Acrobat XI Pro trial, still can't. If I try to edit image, it says I need to have Live Cycle designer to edit this form. Someone please help! This is my son's Eagle Scout worksheet and needs to be fixed tonight....please

    If the file was created in LiveCycle Designer then it can only be edited
    there.
    It's not clear in what way you edited it originally.

  • Help required with Image Field

    Hi,
    I have some 300 forms with image field set in them. I now need to import images into these image fields. The images are present on my local machine. If required i can upload these into my repository.
    The issue is i am not able to create a batch process which will do this. Can some one please help me out with this issue.
    Thanks in advance

    This is possible if all your 300 forms has the similar fields hierarchy.
    One of the several possible ways:
    1. keep your forms & images in folders within livecycle server.
    2. create a process to read all these form and images and set the image content into Image field using XPATH expression (SetValue activity)
    Iterate through the number of forms available. You are done.
    Make sense?
    Nith

  • HELP ME!  Image Field

    Would someone mind telling me how to center an image in the image field.
    I have created a form with an image field. Some of the chosen images are positioned as portrait and others as landscape. either way, there is a text field below this image field that I would like the users picture to be centered above. but it always shifts the chosen picture all the way to the left.
    suggestions?
    Thanks in advance

    Hi George -
    When you insert your image field, you need to specify in the Paragraph tab how you'd like it aligned. You can center it both vertically and horizontally. Try using that Paragraph tab first and see if it works. If not, post back or drop me an email: [email protected] and I'll see if I can't walk you through it.

  • Clearing an image field

    I have created an image field that a user can select via a checkbox.  The image field is hidden by default.  If the user clicks a checkbox the field becomes visible.  Clicking the field allows the user to embed an image. 
    I am attempting to set a "clear image" action, but for some reason if I set the image field rawValue to null the image field disappears and will not come back.  The only command I am associating to the button is:
    COPQImage.rawValue = null;
    This makes the field disappear as if it was reset to hidden, and clicking the check box to attach an image will not bring the field back.  Is this a bug, or is there something else that needs to happen to an image field if you set it's rawValue to null?

    Thanks Niall -
    I have found your exmaples to always be very enlightening and helpful.  In this case, there seems to be an issue when you set two properties:
    1.  You set the imagefiled to be hidden until a user requests it to be visible via a checkbox, button, etc, and hide it again it they opt to get rid of the imagefield (they change their mind)
    2.  You set the imagefield to expand to fit in the X and Y axis
    In my case users are attaching snapshots of graphs they need to support the text written in a textfield.  They may or may not require an image to accompany it, so I set the imagefiled to be hidden by default.  They check the "Attach image" checkbox, I setFocus to the imagefield, they select an image.  All good.  But if you set the imagefield rawValue to null to clear it, as you do in your example or with a button or a checkbox or any manner, and hide the imagefield again to clear it's layout space you cannot get the imagefield to come back.  I altered your code to hide 'myimage' with a checkbox, and set the layout to expland in X and Y.  Once the rawValue sets to null and myimage is hidden it will not come back.  If you do not set the layout proerty to expand it works fine.  But if you expand that imagefield to size accordingly rawValue = null kills the ability to have it come back once hidden.

  • Image Field Scale Proportionally does not work

    Dear all,
    we are using LiveCycle Designer ES 8.2 to program a dynamic form in which we want to use image fields. Users filling the form should choose the picture to display in the image field.
    We set the Image Field to embed data (so it can be saved) and to scale proportionally.
    Testing the form with Adobe Reader 8.1.4 or 9.1, it’s possible to insert a picture, but it does not get scaled and seems to be positioned in the Background of the form.
    Who can help us fixing this problem? If helpful, i can provide a copy of the form draft. Thanks in advance for any help und
    kindest regards
    Tobias

    Yehaaa,
    figured it out by myself. Sometimes it's good to sleep a night over it ...
    The solution is: In the Layout Tab of the image field, no exact measures were defined (extend to fit boxes checked). This way the poor program goes into a circuit.
    Cheerio
    Tobias

  • Can't add new image field in SRM MDM catalog

    Dear Experts
    I have added a new lookup[image] field in Catalog Item table.
    The problem is I cant find it in my
    MDM_SRM_UI_App>Customize Display tab>SRM-MDM Repository fields list
    Can't we add custom fields to repository?
    I also read this SAP Note 1028343 (Changes in repository not reflected in Catalog UI)
    where it is said to restart the mdm connector for the changes to take place.
    However the note is quite old. Is it still applicable?
    Please share your ideas.
    Thank you.
    Regards
    SwarnaDeepika

    Hi SwarnaDeepika
    There is already Images and PDF lookup available for each record in Catalog items table. I am not sure how we can create a new images lookup
    The below links explain the transport configuration process, this may help you identify custom fields in SRM-MDM Repository Fields list
    https://wiki.sdn.sap.com/wiki/display/SAPMDM/OpenCatalogInterfaceinSRMMDMCatalog+2.0
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/7246
    Regards
    Goutham Kanithi

  • Manipulation of the size of an image inserted into an Image Field

    Hi,
    I'm learning LiveCycle Designer ES 8.2 as I go. My apologies for the lengthy post but I'm trying to give you as much background as possible.
    I'm are trying to design a form that will allow us to automate data entry (by importing fields into our Access dbase instead doing the data entry by hand).  However, at the end of the day, I also need an electronic pdf file of the same form and a printed paper copy.  Things have been going well until working with the Image Field.
    The form is fairly complicated - 4 pages long.  We're collecting extensive data on specific locales (location, what was seen there, who did the work, etc). On one page, three different images (maps) are needed, each one showing different details on the site's location.  [Please note these images will not be imported into the database but must appear in the electronic pdf and on the paper copy.] The people who fill out the forms are expected to do so using Adobe Reader (the form will have extended rights so that they can save the data they enter on the form).  They would then email us the form as an xml file.  Once we receive the form, we have to add some additional information and then the finalized paper copy and electronic pdf would be made.  We have already done this successfully with much simpler forms, none of which have needed Image fields.
    Here's my problem - one of the three maps required is a standard 1:50000 scale topographic map which shows things like contour lines and latitude/longitude lines.   For accuracy and comparison reasons, having the standard 1:50000 scale is very important to us, so we can make absolutely certain the submitter has the right location.  If the dot plotted on the map is out just a few millimeters, we're looking at an error that represents 100s of meters on the ground.
    The current form exists in Word - we have never had any rules about the image formats used (jpg, gif, etc) or the resolution, as long as the image was clear.  The only rule was that the scale of the topographical map image HAD to be at 1:50000 scale.  This gets very tricky because Word will automatically mess with the physical appearance of the image, based on its resolution.  In most cases, the submitter simply readjusted the image within Word, stretching/resizing it manually until the scale was correct.  Another option was to use an image in the emf file format so that Word didn't readjust the image's appearance based on its resolution. Whatever method they used was fine by us, as long as the scale was correct.
    So far, after playing with all the "sizing" options of the Image field, along with embedding or not embedding the file, I do not see any way to control the physical size of the image. On our form, the three image fields are different sizes, with 2 of them being small (~2x3 inches) and the 3rd being large (~7x7 inches). Regardless of the settings I chose for each image field, the program simply resizes the topographic map whatever Image field it was inserted into,  making the same image appear physically smaller or larger at will.  I cannot correct the scale by resizing it, like I can in Word.   Instead, when I try to select the image, all I am asked is if I wish to insert another image.  Inserting an .emf file format into the field doesn't work - it only shows a blank screen instead of the image.
    Is there a way for the user to adjust the image's physical size in the form, after inserting it (like they can do in Word)?  Demanding that everyone use a standardized resolution or image format also seems highly unlikely to work - there are too many submitters and too many programs that can be used to make the image (some are making them using GIS programs, others are scanning the bought topographic print).  I'd appreciate any help you can give me on this.  I have had very little luck tracking down discussions on Image fields and how they work best within LiveCycle.  Any comments would be helpful!

    Hi,
    I have an example here that is intended to demonstrate the difference between Positioned and Flowed subforms: http://assure.ly/i8pSdy.
    This shows how you can use a slider to change the dimensions of the image object.
    I have extended this to an example with buttons to scale the image: http://assure.ly/i8ZI5Y
    This may not be fine enough for your purposes, but it may give you some ideas.
    Good luck,
    Niall
    Assure Dynamics

  • Migration Workbench is messing up data in converted from SQL Server image fields.

    I am working on porting a SQL Server 7 database to Oracle 8i (8.1.6 release 2). In the SQL Server database I have several tables that contain image fields that hold binary data (like Word documents, and other files). When I port the database to Oracle, the data in these fields gets garbled (the resultant records contain the correct amount of data (bytes), yet the data is different). Data in image fields that contain text oriented data ports correctly (i.e. if you just saved a long string in the field). Has anyone else posted a similar problem? Is there a workaround here to get the data stored in these image fields to port correctly?

    The thing is DDL of SQL Server and Oracle are quite different, without the help of MW from SQL Developer. You can't convert SQL server version of DDL to Oracle version. Of course you can accomplish the same thing using other tools like ERwin and Visio. Since SQL Developer is free why bother?

  • How to bind "Image Field" object on a database

    Hi to all
    I inserted into a dynamic PDF (Livecycle ES3 trial) an image field, but I don't understand how I can to bind a JPG into a database.
    In (F5) preview... I'm able to open a image file on filesystem and visualize it on PDF form... but then? How to bind on database?
    In my several tentatives I'm using a MS Access 2010 database table, where I defined a OLE object... but doesn't work.
    Thank you at all.
    visert

    Hi,
    I have not tried to do this, but this document provides some instructions.
    http://partners.adobe.com/public/developer/en/livecycle/lc_designer_XML_schemas.pdfhttp://partners.adobe.com/public/developer/en/livecycle/lc_designer_XML_schemas.pdf
    Hope it helps
    Bruce

  • How to extract the image field content?

    Hi, experts
    I placed an image fields on an interactive form , user can upload jpg file into this field.
    Could you pls tell me how to extract that using programming languages with the help of XML DOM?
    I built a sample program that can retrive the content of the field, which is of type string, then when i save it to local drive, the image can not be displayed correctly.
    could you pls tell me how to solve that?
    br.
    Jun

    Jun,
    Did you figure this out on your own? Any one out there have an answer?
    Leti

  • Image fields in Adobe 8 Pro

    I am making a form in Adobe Acrobat Professional and everything is going great and I put in image fields and activated the users so I could send it out to anyone that needed to use this form to place images. So all they had to do was click and find the image and it would place it. Well I am finding many problems, first problem I encountered was when I placed the image field and clicked on "fit image proportionally," in one and then in another one I chose "fit image to box," and they both did the same thing, it fit it to the box, it didn't fit proportionally. Is there a way to fix that? Another thing is that I worked around that for now and found a way to get the images on the form but when I did they were blury and pixelated, but they are 300 dpi, how can I fix that? If anyone can help me ASAP I would be greatful. Thanks

    You'll probably want to ask this in the Acrobat forum rather than here.

  • Image field in Acrobat 8 Professional

    I am making a form in Adobe Acrobat Professional and everything is going great and I put in image fields and activated the users so I could send it out to anyone that needed to use this form to place images. So all they had to do was click and find the image and it would place it. Well I am finding many problems, first problem I encountered was when I placed the image field and clicked on "fit image proportionally," in one and then in another one I chose "fit image to box," and they both did the same thing, it fit it to the box, it didn't fit proportionally. Is there a way to fix that? Another thing is that I worked around that for now and found a way to get the images on the form but when I did they were blury and pixelated, but they are 300 dpi, how can I fix that? If anyone can help me ASAP I would be greatful. Thanks

    Acrobat uses a non-destructive crop. When you import the pdf into an intelligent program, it will only show you the part of the pdf within the crop box. I have  used Acrobat and FrameMaker for years and it only shows you the proper part of the pdf. InDesign CS 5 seems to import the entire pdf unless you play with the import options.

  • Populating multiple image fields with single user-defined image

    Hello,
    I am fairly new to LiveCycle and am looking to include a user-specified image in the header of each page of my dynamic form.
    I've succeeded in including the image form at the head of each page using a master page, but each image form only affects the page it is on. Ideally, I would like to have the user be able to select the image on one page, and have all of the image fields populate.
    Is there any way to use a script to populate the other images when the first image is selected by the user? I tried setting the rawValue of one image to that of another once the other is chosen, but had no success.
    Thanks,
    Michelle

    Thank you for the responses. I have already updated awhile ago, so I am wondering what happened. Not sure if during the server update, some files were replaced (unless I totally forgot to update to 1.0.1 on this site). So I reinstalled 1.0.1, deleted the includes folder from the server and uploaded my includes folder and it now works again.
    Again, thanks for the help.
    Jeremy

Maybe you are looking for

  • Can I use an radar alarm on my iphone 4, without passing by the telephone card, for example in plane mode?

    Can I use an radar alarm on my iphone 4, without passing by the telephone card, for example in plane mode? This question in order to avoid the roaming when I leave my country for a foreigner one

  • Coherence Error at the time of Starting weblogic Server

    Hi , I am getting below error at the time of starting Weblogic OSB managed server We are using osb_cluster1 (Unicast) for osb_server1 managed server. When Weblogic server try to start the managed server we get following Coherence errors and startup s

  • Problam with magic bullet instant hd advance

    after i changed my sd video to 1080p and added magic bullet instant hd advance i set it so that it renders in h.264 codecs but every time i tryed i got this message.

  • Empty/wrong field error messages

    I have noticed than when designating a certain field in an order form I'm creating to be "User Entered - Required", there are several options that I could choose to be displayed if the user does not fill in the field, or makes a mistake: Empty Messag

  • 9ias and forms 9i

    Hour Glass being displayed when moving in and out of fields even in a simple form. not a problem in an intranet environment but cringe at the effect on a dial up 56k modem connection using a low spec browser client PC Please confirm that each time a