Skip navigation
tbechtel
Currently Being Moderated

Resetting table does not remove inserted image in dynamic form

Jul 2, 2012 1:15 PM

I am currently creating a form that allows my users to insert an image and write a description by using a table. 

 

I have a button that resets the table by using:

 

Photos._Row1.removeInstance(0);

 

And that works to remove any additional rows (Row2 +) I have inserted and all of the description text.  However, on Row1, it does not remove the image, only the text.

 

Is there additional script to remove the image from Row1 to bring it back to a clean table?

 

 
Replies
  • Currently Being Moderated
    Jul 3, 2012 12:46 AM   in reply to tbechtel

    Hi,

     

    xfa.host.resetData();
    

     

    will reset all of the user entered data, including images.

     

    Hope that helps,

     

    Niall

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points