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 2007

Tip: Looking for answers? Try searching our database.

Hidden required fields

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Trice - 25 Apr 2007 17:10 GMT
I setup a Travel Request form that allows user to select different
options for travel,whether they need: train, air, hotel or car. If any
of the options are selected then optional  fields show up for them to
fill out (like pick times and train/air options,etc.) and if these
options are not selected then they do not show up on the form. Problem
is even when you don't have the option selected it forces you to fill
out the required fields in this sections when you hit submit.
Ex.if you are only taking the train, you have to fill out the required
information under the Train, Airline, Hotel and Car section. I want to
fix the form so that you only have to fill out the required area(s)
that's visible (or selected). Can anyone help me with this. Thank you!
Ramana - 26 Apr 2007 13:22 GMT
Hi,

Delete all validations when you  are submitting the form.

use this method

thisXDocument.Errors.DeleteAll();

I hope this will help for you.

Signature

k.Ramana Reddy
http://www.autonomysystems.com

> I setup a Travel Request form that allows user to select different
> options for travel,whether they need: train, air, hotel or car. If any
[quoted text clipped - 7 lines]
> fix the form so that you only have to fill out the required area(s)
> that's visible (or selected). Can anyone help me with this. Thank you!
 
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.