Form validation script

Started on the old forum in July 2012 · view the original in the archive · old links redirect here

6 replies · 903 views · started 14 years ago · 1 min read

3 participants
mFreak Developer · 66 posts #1

here is the form validation script i use for my project. I wanted to port codeigniters but I couldnt implement it to my project, so i made my own. Now I made a standalone version that dont even need any of my scripts. You have readme file in archive. If you find any bugs, pm me. Anything you need just pm me I will be glad to reply and fix it and repost the fixed script. NEW VERSIONS BELOW

$("#mfreak").find(".head brain").clone();

Progress:

[|||___________________________] : 5%

Output:

Memory limit reached, unable to complete operation.

Support answer:

Try using a super uber strong mega computer to reach at least 10%.

👋

Attachments: FORM_VALIDATION.zip
mFreak Developer · 66 posts #2

Jeez, I failed with this script. but I had a request so here is the new version of the script. Now the class allows checking arrays other than $_POST by calling Form_validation::load_data_array() like this:

$FV->load_data_array($_GET); // this loads get array but you can load any array

. Also I made a script so you can easily check your rule definitions. 🙂 Hope this helps someone. I espect more requests.

$("#mfreak").find(".head brain").clone();

Progress:

[|||___________________________] : 5%

Output:

Memory limit reached, unable to complete operation.

Support answer:

Try using a super uber strong mega computer to reach at least 10%.

👋

Attachments: Form_validation.zip
mFreak Developer · 66 posts #4

softwarefreak wrote: The readme file is supr cool :D

hege, class is the thing here not the outdated readme file 😛. So anybody any requests?

$("#mfreak").find(".head brain").clone();

Progress:

[|||___________________________] : 5%

Output:

Memory limit reached, unable to complete operation.

Support answer:

Try using a super uber strong mega computer to reach at least 10%.

👋

hi_jakkk Developer · 52 posts #5

can we use this in lava script?

mFreak Developer · 66 posts #6

hi_jakkk wrote: can we use this in lava script?

you can use it anywhere. It does not require anything exept php 5

$("#mfreak").find(".head brain").clone();

Progress:

[|||___________________________] : 5%

Output:

Memory limit reached, unable to complete operation.

Support answer:

Try using a super uber strong mega computer to reach at least 10%.

👋

mFreak Developer · 66 posts #7

NEW VERSION. You can now fetch errors for only certain field, you only pass field name to new Form_validation::return_field_errors() method. More info about new method and class itself can be found in readme.html . Usage example and script where you can test the rules and class is test.php . And again pm me if you want something added in new version or you want to report a bug.

$("#mfreak").find(".head brain").clone();

Progress:

[|||___________________________] : 5%

Output:

Memory limit reached, unable to complete operation.

Support answer:

Try using a super uber strong mega computer to reach at least 10%.

👋

Attachments: FORM_VALIDATION.zip

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close