Ruby on Rails Saturday, January 16, 2016

How can I use ruby on rails input field selector?

This is form:

<input id="user_user_name" class="form-control" type="text"
name="user[user_name]" placeholder="Company Name">

Jquery

user_user_name:{
validators: {
notEmpty: {
message: 'The company name is required and
cannot be empty'
}
}
},

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c18f630d468d7885e8ede3a9de098176%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment