Copy & Paste capability in published forms

B

bryact

I am creating a form to be used by our customers online. What I've noticed in
my repeating table (in Preview) there is a copy & paste capability for the
user to copy prior row data when only one data element is needing to be
changed. But when I publish the form and do a test run of the actual form in
the browser, the user does not have that capability (only insert before/after
or remove). Is there some specific code I need to use in order for this
capability to be transferred into the published form?

Is there anyway to have the prior row data prepopulated into an inserted row
after?
 
G

Gavin McKay

Hello,

This functionality may not be available in a published browser-enabled form
- someone else might be able to confirm. Copy-and-paste you are referring to
is probably OK in the infopath Windows designer/viewer, but in the
browser-based form this probably won't work, which sounds like the situation
you are describing.

You could code this functionality and manually add a copy of the previous
rows xml values as a new xml element to the datasource. A bit messy, but
reasonably straight-forward. I did try and create my own buttons on a
repeating table control to do this, but it seems developers are locked out of
modifying this functionality in Infopath i.e. the "add new row" items from
the repeating table menu. You would have to create your own custom button at
the end of each row to get this to work.

HTH

Gavin.
 
B

bryact

Thank you Gavin, this is helpful. One question though...you say "You could
code this functionality and manually add a copy of the previous rows xml
values as a new xml element to the datasource.", but how would I go about
doing that?

Thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top