I am trying to add form validations to user entries and I can't seem to find certain ones. I would like to check that a number that is input is greater than 4 and less than 50. I would also like to make sure that one field is not greater than the other as well as add up three different numbers to make sure they do not total over a certain number. Are there advanced validations in chronoforms or do I need to do this with javascript?
thanks,
Matt
thanks,
Matt
Hi Matt,
Which version of ChronoForms are you using? You can find the version from Site Admin | Extensions | Install/Uninstall | Components in Joomla! 1.5 or Site Admin | Extensions | Extension Manager | Manage in Joomla! 1.6.
ChronoForms v3 uses the LiveValidation library and CFv4 uses the FormCheck library. Both libraries include some extended validations beyond the basic ones packaged in ChronoForms and allow you to add custom validations when you need them.
Bob
Which version of ChronoForms are you using? You can find the version from Site Admin | Extensions | Install/Uninstall | Components in Joomla! 1.5 or Site Admin | Extensions | Extension Manager | Manage in Joomla! 1.6.
ChronoForms v3 uses the LiveValidation library and CFv4 uses the FormCheck library. Both libraries include some extended validations beyond the basic ones packaged in ChronoForms and allow you to add custom validations when you need them.
Bob
Hi Bob,
using ChronoForms version 4.0 RC2.0
Can you tell where to head to find these validations?
thanks again
Matt
using ChronoForms version 4.0 RC2.0
Can you tell where to head to find these validations?
thanks again
Matt
Hi again,
Think I may have found it... http://greyhead.net/how-to-docs/cfv4-show-html-gh-action.
I added Show HTML [GH] to my site and can see it as an action in Advanced mode. I'm assuming this is what I need to use to allow for custom validations? I still need to figure out what I need to input in there but I'm sure I can study up on it.
If this is correct, do I want to replace the existing "show HTML" action with the new one or have them both in there?

Matt
ChronoForms version 4.0 RC2.0
Joomla 1.7.3
Think I may have found it... http://greyhead.net/how-to-docs/cfv4-show-html-gh-action.
I added Show HTML [GH] to my site and can see it as an action in Advanced mode. I'm assuming this is what I need to use to allow for custom validations? I still need to figure out what I need to input in there but I'm sure I can study up on it.
If this is correct, do I want to replace the existing "show HTML" action with the new one or have them both in there?

Matt
ChronoForms version 4.0 RC2.0
Joomla 1.7.3
Hi cre8tivemedia,
You only need one . . . but I think that my Show HTML [GH] needs updating to be consistent with CFv4 RC2.0 :-(
It's on the To Do list . . .
Bob
You only need one . . . but I think that my Show HTML [GH] needs updating to be consistent with CFv4 RC2.0 :-(
It's on the To Do list . . .
Bob
Oh, gotcha... I can focus on other areas of my site for now. Just good to know that I'll be able to add the validations at some point.
Thanks for the help
Matt
Thanks for the help
Matt
Hi Matt,
The Show HTML [GH] action is now updated for CFv4 RC3.0. Difficult to test every combination so let me know if you find anything that doesn't work.
Bob
The Show HTML [GH] action is now updated for CFv4 RC3.0. Difficult to test every combination so let me know if you find anything that doesn't work.
Bob
Awesome! Thanks for the update! I look forward to testing it out and I'll let you know how it goes.
Thanks again,
Matt 8)
Thanks again,
Matt 8)
Hi Bob,
I took some time last night and started on some validations using the updated Show HTML[GH] action. I was able to get the min/max function working correctly which is great! I need to create a function to check to see if one number is larger than the other. Would this be a custom function or is there a variable I can add to the number parameter?
I've been looking at the formcheck library here: http://mootools.floor.ch/docs/formcheck/files/formcheck-js.html
I see how to create a new function but I'm not sure which file I need to edit or where to put the function in the file... Can you point me in the right direction?
thanks,
Matt
I took some time last night and started on some validations using the updated Show HTML[GH] action. I was able to get the min/max function working correctly which is great! I need to create a function to check to see if one number is larger than the other. Would this be a custom function or is there a variable I can add to the number parameter?
I've been looking at the formcheck library here: http://mootools.floor.ch/docs/formcheck/files/formcheck-js.html
I see how to create a new function but I'm not sure which file I need to edit or where to put the function in the file... Can you point me in the right direction?
thanks,
Matt
This topic is locked and no more replies can be posted.