Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / April 2006

Tip: Looking for answers? Try searching our database.

how to add pages conditionally

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Francesco - 21 Apr 2006 09:31 GMT
I have an InfoPath form with a currency field. According to the value of this
currency field I have to add pages to the form.
For instance if the currency field is between 5000 and 10000 I need to add a
page with some info, if it is between 10000 and 20000 I need to add 2 pages
(the same page I had before plus another one) etc.

can anybody give me some suggestions?
Thanks a lot in advance
Greg Collins [InfoPath MVP] - 22 Apr 2006 00:16 GMT
What do you mean by "add pages"? Are you talking about printing, fields, views, or what?

Signature

Greg Collins [InfoPath MVP]
Visit http://www.BrainTrove.com
Visit http://www.InfoPathDev.com

I have an InfoPath form with a currency field. According to the value of this
currency field I have to add pages to the form.
For instance if the currency field is between 5000 and 10000 I need to add a
page with some info, if it is between 10000 and 20000 I need to add 2 pages
(the same page I had before plus another one) etc.

can anybody give me some suggestions?
Thanks a lot in advance
Francesco - 24 Apr 2006 07:49 GMT
I have a one page Form with field1 and field2.
If the urrency field is > 5000 then I need to add other fields to be filled
out, let's say field3 and field4.
If the currency field is < 5000 I just need the one page Form with field1
and field2.

> What do you mean by "add pages"? Are you talking about printing, fields, views, or what?
>
[quoted text clipped - 6 lines]
> can anybody give me some suggestions?
> Thanks a lot in advance
Francesco - 24 Apr 2006 13:00 GMT
conditional formatting seems to give me some possibilities... however what I
wrote in my previous post is a very simplified situation. I need many fields
to be added and probably the best option is to use code...
Francesco

> I have a one page Form with field1 and field2.
> If the urrency field is > 5000 then I need to add other fields to be filled
[quoted text clipped - 12 lines]
> > can anybody give me some suggestions?
> > Thanks a lot in advance
Greg Collins [InfoPath MVP] - 24 Apr 2006 17:55 GMT
Yes - code gives you the most flexibility. Conditional formatting just hides existing fields. If you do not want them physically present in your form unless they are needed (i.e not just hidden in the view) then you will need to use code.

Signature

Greg Collins [InfoPath MVP]
Visit http://www.BrainTrove.com
Visit http://www.InfoPathDev.com

conditional formatting seems to give me some possibilities... however what I
wrote in my previous post is a very simplified situation. I need many fields
to be added and probably the best option is to use code...
Francesco

> I have a one page Form with field1 and field2.
> If the urrency field is > 5000 then I need to add other fields to be filled
[quoted text clipped - 5 lines]
>
> > What do you mean by "add pages"? Are you talking about printing, fields, views, or what?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.