• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Validation, multiple instances of %s?

#1
[eluser]modano[/eluser]
Hello,

For example, a validation messages look like this:
"The %s field must contain a valid email address."

My problem is, I need to send the varaible %s twice, for example:
"%s The %s field must contain a valid email address."

But it will only replace %s with the form object name once, the second instance will be totally ignored and blank.

I cant find the code for where it replaces %s with the form object, but its aparently not looping through it, just looking for it once, how can i solve this?

regards,
modano


Messages In This Thread
Validation, multiple instances of %s? - by El Forum - 10-02-2008, 02:25 PM
Validation, multiple instances of %s? - by El Forum - 10-02-2008, 02:42 PM
Validation, multiple instances of %s? - by El Forum - 10-02-2008, 02:49 PM
Validation, multiple instances of %s? - by El Forum - 10-02-2008, 03:02 PM
Validation, multiple instances of %s? - by El Forum - 10-03-2008, 12:37 AM
Validation, multiple instances of %s? - by El Forum - 10-03-2008, 03:31 AM
Validation, multiple instances of %s? - by El Forum - 10-03-2008, 03:45 AM
Validation, multiple instances of %s? - by El Forum - 11-10-2008, 12:47 PM
Validation, multiple instances of %s? - by El Forum - 11-10-2008, 02:36 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.