Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to insert a "clear" button to a specific field

Avatar

Avatar
Validate 1
Level 1
ICETS_1
Level 1

Likes

0 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
ICETS_1
Level 1

Likes

0 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
ICETS_1
Level 1

21-02-2011

I want to add a button that results in a specific field being cleared or reset in my form without it actually resetting the whole form.  I have dabbled with with some script but it seems to rest the whole form.

For example I have a group of fields in page 3 where the user selects a course units from a drop down menu (i.e.DropDownList1, DropDownList2 etc..).  I want to put a button beside this group of fields so they can reset the field group.  In saying this I need to know how to group the 5 fields together so the 'clear' button clears that group of fields.

In you answer can you also indicate with of the selection in the "Show" drop down menu I need to select.  E.g. is it click, mouseup, mousedown, etc...

View Entire Topic

Avatar

Avatar
Validate 1
Level 1
ICETS_1
Level 1

Likes

0 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
ICETS_1
Level 1

Likes

0 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
ICETS_1
Level 1

21-02-2011

Sorry Niall

I am only new to scripting.  Can you provide some more simpler instructions for the following.

I want to clear all the fields on a specific page with a button without clearing entire form.

1. Do I need to somehow group the fields on that page together.

2. What would be the script type to clear those fields on that page

3. What selection in the "Show" drop down field should I use to enter that script.