cformsII Support Forum
Current User: Guest *Frequently Asked Questions*
Search 
Search Forums:


 




Post

nan - Guest

10:18 am - June 12, 2008

1

Please replace the ??? with your data!

Thanks for the excellent form plug-in. Would it be possible to incorporate

. a Reset Form button along with Submit?

. a way to make checking at least one of the multi-check boxes a requirement?

. being able specify the number of lines in a multiline text field, or make it expandable (as this field is)

Thx!


Oliver - Admin

10:09 pm - June 12, 2008

posts 3921

2

. a Reset Form button along with Submit?

Possibly. I'll think about it.

. a way to make checking at least one of the multi-check boxes a requirement?

Nope. But you can use a multi-select box instead and make selecting at least one entry mandatory.

. being able specify the number of lines in a multiline text field, or make it expandable (as this field is)

You can do that already via CSS.

Joe - Guest

2:00 am - June 17, 2008

3

Came here to post this, and found this thread. An optional reset form button would be great =) Maybe even the option of having a checkbox next to it, with a popup that asks if you are sure.

Oliver - Admin

7:35 am - June 17, 2008

posts 3921

4

I'll put it on the wishlist...although it hasn't been a much requested feature.

Joe - Guest

5:25 pm - June 23, 2008

5

I solved the no reset button issue with this small crude work-around.

I found the div ID or class of the default submit button for whatever form I wanted to change and with CSS hid it with display: none;

I then created two div's putting the submit button code for the form in one and the code for a reset button in another after it. Note that the sendbutton1 and validate('1 correspond with your form number.

Example:

<div id="button01"><input type="submit" name="sendbutton1" class="sendbutton" value="Submit" onclick="return cforms_validate('1', false)" /></div><div id="button02"><input type="reset" name="reset" class="sendbutton" value="Reset"></div>

I then put the above code in a text-only box at the bottom in the field-name of cforms where you create a form. Then I used CSS to move the submit and reset button where I wanted to and style the text-box div they are contained in.

Oliver - Admin

6:44 pm - June 24, 2008

posts 3921

6

quite a hack :-) thanks for sharing

Reply to Post


Reply to Topic: Reset Form
PLEASE READ THE FAQs FIRST! THANK YOU.

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Topic Reply:

Save New PostSmileysOptions

Guest URL (required)

Math Required!
What is the sum of:
6 + 4
   

 
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell

Search