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 2008

Tip: Looking for answers? Try searching our database.

Data Validation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kori - 23 Apr 2008 16:11 GMT
I have a form with two radio buttons, one for yes the other for no.  I want
users to have to select one of these before submitting the form.  I want my
own error message that tells them to answer the question before submitting
the form rather than the cryptic message that infopath gives by default.  I
tried putting my own message in but infopath still gives its cryptic message
before my message can be displayed.  Is there a way to make my message appear
- I have tried going to data validaton, Add, If this condition is true, my
field is blank the show my error screen tip and message.  It still does not
come up first, just infopath's cryptic message comes up instead first.  Mine
only shows up to the user by them right-clicking on the radio button which is
of no use.
Clay Fox - 23 Apr 2008 19:59 GMT
Hi Kori.
I am guessing you are using the default submit for your button type.
You want to change it to rules.

Then add a rule where (field radio buttons are bound to) is blank.
Check stop processing rules.
Add message action with your alert
Say Ok to the action and rule
This effectivly stops the button for doing anything more until the field is
not blank.
Then add another rule which calls the submit action. This rule will only
execute if the first is not true.

Another option is to add conditional formatting to your button and disable
the button if the field is blank.
That way the submit is unclickable until the condition is met but does not
offer the message to users why. Often i will give them some bold text which
says the answer is required and is hidden once they choose an answer.

Signature

Clay Fox / Microsoft InfoPath MVP
www.InfoPathDev.com / The InfoPath Authority / Downloads, Samples, How-To,
Experts, Forum

> I have a form with two radio buttons, one for yes the other for no.  I want
> users to have to select one of these before submitting the form.  I want my
[quoted text clipped - 7 lines]
> only shows up to the user by them right-clicking on the radio button which is
> of no use.
 
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.