Welcome Guest, Not a member yet? Register   Sign In
a problem with form_validation in CI 2.0
#1

[eluser]Ali Fattahi[/eluser]
Hi
i have a problem with form_validation in CI 2.0
How can i pass translated fields name in array ?
in CI 1.7.2 We had $this->validation->set_fields() but in CI 2.0 ?!!?

The My Huge Problem in Upgrade to 2.0 is this Library with deprecated in this version Sad i must upgrade my project to CI2.0 But i can't upgrade because this library Sad
#2

[eluser]victorche[/eluser]
@Ali, you're asking about this validation in 100 different topics. They already gave you the answer. Since 1.7.0 this library 'validation' is deprecated. It stays still in 1.7.2 just for compatibility. You should use form_validation.
Don't you see the name change?
#3

[eluser]Ali Fattahi[/eluser]
yes , i konw that changed in CI 2.0 But my question is How can i pass translated fields name in array ?
#4

[eluser]Jelmer[/eluser]
Have you maybe tried looking in the user guide where it's all explained? Or do you just like to let others do your work for you?
#5

[eluser]Ali Fattahi[/eluser]
[quote author="Jelmer" date="1286733115"]Have you maybe tried looking in the user guide where it's all explained? Or do you just like to let others do your work for you?[/quote]

can you please show me where is the document about passing tranlated array to form_validation library in user guide version 2,0 ? i readed that user guid but realy coulden't find about this !
Best Wishes!
Ali
#6

[eluser]InsiteFX[/eluser]
Maybe look in the User Guide under Langage Class!

InsiteFX
#7

[eluser]Jelmer[/eluser]
Translating Field Names

Setting Rules Using an Array

It took me less then 30 seconds to look these up. It's not that hard, just try to think for yourself and don't start topics with lazy questions.




Theme © iAndrew 2016 - Forum software by © MyBB