首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > Ruby Rails >

really simple validation: RSV Error: the field " xxx" doesn't exist

2012-10-28 
really simple validation:RSV Error: the field xxx doesnt exist!really simple validationhttp://w

really simple validation: RSV Error: the field " xxx" doesn't exist!
really simple validationhttp://www.benjaminkeen.com/software/rsv/prototype/demo.php is very useful and easy to use.

However there is a very common problem for newbie:

RSV Error: the field " xxx" doesn't exist! Please check your form and settings.

the root cause is because of the "space" key.

root cause:
"required, field_name,Please input xxx"
should be written as:
"required,field_name,Please input xxx"

see the difference? the 2nd one doesn't have the space key.

热点排行