Forums

A few Simple Questions

jetwong98 24 Jul, 2010
Hi,
Since CK Forms had been banned due to security issues, I've been researching dozens of form builders for weeks, finally I plan to stick with Chronoforms and Smart Former.

Chronoform is famous but documentation is not organized, information is scattered here and there. I just have a few simple questions below and hope someone can clear my doubt. Or you may show me where I can get the answers. Tks a lot

1.) After using the Form Wizard to create a form, we CANNOT use back the Form Wizard to edit the generated form right ?

2.) How to restrict the minimum length of chars input with customized error message ? I know I can add the minlength to the respective fields but doing so, the error messages won't show. This is very important to me.

3.) How to customize the error message ? It's quite ugly, I love the way CK Forms displays.

4.) Where should I add a function to be called in the form ? I found no examples on all these features.

Tks a lot
GreyHead 24 Jul, 2010
Hi jetwong,

1.) After using the Form Wizard to create a form, we CANNOT use back the Form Wizard to edit the generated form right ?

Correct, but you CAN use Wizard Edit to edit the form **unless* you have made manual changes to the Form HTML. If you use Wizard Edit these chanes will be lost.

2.) How to restrict the minimum length of chars input with customized error message ?


It is possible to add a little JavaScript to your form to check and output this.

3.) How to customize the error message ? It's quite ugly,

You can change the CSS and use custom divs to make your messages look pretty much any way you want them. Here's one example.
[attachment=0]24-07-2010 07-36-37.png[/attachment]

4.) Where should I add a function to be called in the form ? I found no examples on all these features.

Probably in the Form HTML box, you an add PHP to any of the Form Code boxes depending on what you want to achieve.

documentation is not organized, information is scattered here and there.

True, I have though collected most of the learning into a 200 page book currently going through the final stages of editing. I hope that will be available in the next month or two.

Bob
jetwong98 25 Jul, 2010
Hi,
Thank you for your reply. I just started using chrono on my site and facing some issues as follows.

1.) How to quote the user's submitted data in my own Email Template ? I mean I design one.

2.) Under the Form Wizard, Why is the WYSIWYG editior not the one which I set as default ? It seems a light version of Tiny MCE but I'm using JCE.

3.) I'd disabled the Validation and onBlur statement under the Validation Tab, why is it still working with error message ?

4.) Still figuring out how to enforce the minimum chars with custom error message. Any examples ? It'll be pretty easy after getting some clues by means of examples with pictures which worth thousands of words.

Thanks a lot.
GreyHead 25 Jul, 2010
Hi jetwong98,

1.) How to quote the user's submitted data in my own Email Template ? I mean I design one.


Edit the template and add {input_name} where you want the values to appear.

2.) Under the Form Wizard, Why is the WYSIWYG editior not the one which I set as default ?

Because Max found that the Joomla editor didn't so some of the things he needed fot ChronoForms. I don't remember the details now.

3.) I'd disabled the Validation and onBlur statement under the Validation Tab, why is it still working with error message ?

Probably because you have some validation classes in your Form HTML.

4.) Still figuring out how to enforce the minimum chars with custom error message. Any examples ?

You can probably get any character counting script to work. I'll check what I put into the book.

Bob
jetwong98 27 Jul, 2010
Hi Greyhead,
Thank you.

1.) Possible to change the WYSIWYG editor to the one of my choice ? It's very cumbersome.

2.) I put a graphic into my email template but I found it just a link to the graphic when I received the email. How to embed the graphic ?

3.) I wish to customize the default display style of the error messages, for eg, appear in the following line with smaller font size, any simple example on doing this ? Or shall I modify the original CSS of Chronoform ? If not, what's the right procedure ?

4.) Indeed, how to use the Custom DIV ? Any simple tutorial ?

5.) There're already 13 validation rules namely required, validate-email and etc under the Validation tab, if I want to add a new one like enforce minimum length, what's the right procedure ?

6.) Quite many tutorials and FAQ are outdated on this site, if there're some simple and straight-forward examples, I'll be able to customize and add validation rules as I like. My issue with chrono is there're no simple examples on adding Validation Rules as well as Customizing the Default Error Messages. It really takes time to understand the concepts behind.

Tks a lot
GreyHead 27 Jul, 2010
Hi jetwong98,

1.) Possible to change the WYSIWYG editor to the one of my choice ?

Not in the back-end (at least not without hacking the code. There was some good reason why Max did this . . .

In the front-end there should be no problem.

2.) I put a graphic into my email template but I found it just a link to the graphic when I received the email. How to embed the graphic ?

If you embed it as an <img . . . > tag then the image should appear embedded provided that the Mail client is loading images. I don't know how you can embed an image.

3.) I wish to customize the default display style of the error messages, for eg, appear in the following line with smaller font size, any simple example on doing this ? Or shall I modify the original CSS of Chronoform ? If not, what's the right procedure ?

You can change the CSS or add your own.

4.) Indeed, how to use the Custom DIV ? Any simple tutorial ?

See the ToolTip on the Validation tab - create a div(or a span) with id='CF_LV_INVALID_input_id'. You can put this wherever you like in the page.

5.) There're already 13 validation rules namely required, validate-email and etc under the Validation tab, if I want to add a new one like enforce minimum length, what's the right procedure ?

Check the LiveValidation docs and add a custom validation. There are several examples here.

6.) Quite many tutorials and FAQ are outdated on this site, if there're some simple and straight-forward examples, I'll be able to customize and add validation rules as I like. My issue with chrono is there're no simple examples on adding Validation Rules as well as Customizing the Default Error Messages. It really takes time to understand the concepts behind.

There are several simple examples in the forums here. A Google search will sometimes find them better than the forum search.

Bob
This topic is locked and no more replies can be posted.