Hi
I have multiple views in my InfoPath 2007 form. I have a submit via
email data connection, with the "Send only the active view of the form
and no attachment" option set.
My problem is, my emails only seem to attach the view that is active
at the time of the submit.
I have tried switching views prior to the submit action - the switch
to view works, but if I switch to a different view the email body is
missing. It is as though it has realised I've switched views, but won't
show any view if it isn't the view that was active at the time the
submit action was fired.
All three views can appear in the email body - but only if I hit the
Submit button while on that particular view (i.e. without switching
the views via a Rule/Code).
I've tried switching views in both a Rule (custom action using Rules)
and in the OnSubmitRequest (custom action using Code).
This is confusing. Any help would be great.