dynmically adding fields

J

Joseph

If anyone can help it would be appreciated.

I am working on an infopath form and attempting to make a form that
will change a set of questions based on a previous answer.

I need this to create all of the answer groups without having to
select click on the form.

This is a database driven form with anywere from 7 to 30 questions
that need to be answered.

Please help.

Joseph
 
R

RP

Do you mean, that question should be populated dynamically once user
answered a question?

If yes, then handle the XML Events and populate the questions data
using web service.

Sample of registering XML Events in FormCode.cs::InternalStartup()
function

EventManager.XmlEvents["/my:FormData/my:Answer"].Changed += new
XmlChangedEventHandler(Answer_Changed);

Hth,
RP
 

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