I'm creating a employee profile form where the user needs to add there photo and have it displayed on the form. Easy peasy so far. I also need to be able to get the images out once the form is submitted without loosing quality so I think file attachment is the way to go. How do I insert and attach an image file at the same time the user doesn't have "do the same thing twice"?
I work more with Adobe Flash Pro and the solution there would be to create two functions, or perhaps one function that does two things. If you name the function myFunc() then have the event listener in Live Cycle for the button call that single function that does two things. Or have it call each individual function separately as a third function which is called when the button is pressed. You would, in that case be calling the two functions from within the third function.