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 / March 2007

Tip: Looking for answers? Try searching our database.

How to Clear Contents of all Form Fields

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andrea L - 22 Feb 2007 14:50 GMT
Hello,

I have a form that has a lot of fields on it. I'm trying to figure out a way
to create a button that a user could click on to remove the current contents
of all fields. I'm having a problem with the form where a CS Rep starts
taking info form a customer and goes down one path of Q&A which fills in data
and then they find out from the customer that they should really have chosen
questions along a different line. What I'd like to do is be able for them to
click a button and have all the answers removed so they can start over fresh.

Is something like that possible with code?

Signature

Thanks,
Andrea

S.Y.M. Wong-A-Ton - 28 Feb 2007 00:01 GMT
Have you already tried using rules on the button that will set the value of
the fields to an empty string?
---
S.Y.M. Wong-A-Ton

> Hello,
>
[quoted text clipped - 7 lines]
>
> Is something like that possible with code?
Andrea L - 28 Feb 2007 14:13 GMT
I haven't done that yet - i was hoping there would be an easy way to do them
all at one time. I have over 50 fields and I didn't want to have to go in and
do each one manually. If that's my only option however, I will do that.
Signature

Thanks,
Andrea

> Have you already tried using rules on the button that will set the value of
> the fields to an empty string?
[quoted text clipped - 12 lines]
> >
> > Is something like that possible with code?
S.Y.M. Wong-A-Ton - 01 Mar 2007 08:06 GMT
Rules are not your only option. You could also write code, but the question
then becomes: How comfortable are you writing code? The task in itself is not
complex, but depending on your level as a user and/or as a programmer the
ease with which it can be done may vary greatly.
---
S.Y.M. Wong-A-Ton

> I haven't done that yet - i was hoping there would be an easy way to do them
> all at one time. I have over 50 fields and I didn't want to have to go in and
[quoted text clipped - 16 lines]
> > >
> > > Is something like that possible with code?
 
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.