Programmatically insert row into repeating table in a diffrent view?

T

TKO

Hi, I was wondering if anyone can give me any tips on how to accomplish
this test scenario:

I have 2 views setup in InfoPath - InputView and LogView.

The InputView contains a text field and a submit button.

The LogView contains a repeating table with 3 columns - Date, Text,
User.

I want to set this up so that whenever users in the InputView enters
something into the textfield and submits, an entry automatically gets
inserted into the repeating table in LogView, with the date and text
that was submitted, along with the username (preferrable collected from
the current windows user account).

Can this be done? Please help; any tips would be greatly appreciated.
Thanks in advance!

-Tony
 
F

Franck Dauché

Hi Tony,

You could do this by code behind. Look into appendChild to add a row into
your table.

Regards,

Franck Dauché
 

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