Displaying 20 results from an estimated 40000 matches similar to: "Client side form validations"
2006 Aug 14
2
Plugins: Validation Reflection and Client-Side Validation
I''ve just put two plugins on RubyForge. Included below are the READMEs.
You can get the plugins at
svn://rubyforge.org//var/svn/valirefl/validation_reflection/trunk
svn://rubyforge.org//var/svn/clientsidevali/client_side_validation/trunk
Michael
Validation Reflection
=====================
Version 0.2, 2006-08-06
This plugin adds reflective access to validations
-
2013 Jun 28
2
Hash_Tag Client side Validation
Hi
anybody help me to find suitable validation way for Hash_Tag, My need is
user should only type hash_tag like below format.
a) #sports
b) #sports,#news
Please Help Me,
Regards,
Manoj.
--
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
2013 Jan 27
0
Nested form for a has_one model that already exists
Here''s the gist of my problem: (using formtastic)
Models:
Person (has_one :color)
Color
So I have this database full of already populated Color entries via a
whole separate controller + views for creating Colors. When creating a
person, I want to be able to select a Color object without creating it.
So I''m not looking for something such as:
= semantic_form_for @person do
2012 Mar 04
5
moving form validation to client-side
Hi I know with javascript we can validate the input of a form on the
client, is there an easy way to specify this in rails? I am thinking
the javascript code getting generated using some sort of DSL?
--
Kind Regards,
Rajinder Yadav
SafetyNet Test Driven Development
http://safetynet.devmentor.org
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2012 Oct 16
0
How to avoid an attribute without passing it to post in formtastic
I am developing rails application. I have a check box in the form like:
<td><%= b.check_box :chkbx, label: false, checked: false %></td>
While submitting the form. I need to avoid passing checkbox name
argument in the post.
How to avoid checkbox attribute from passing it to post in formtastic?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because
2012 Oct 31
2
What is Formtastic and SimpleForm gem ? Is any one of this is by default included in Rails ?
Hi all,
I read Formtastic and SimpleForm gem.
I am using 3.4
Q 1 Is any one of this is by default included in Rails ?
Q2 Any advantage of this gems over simple form tags ?
As per my knowledge we are using form helper , but still i raised the
qustion ?
Thanks
Regards
Fahim Babar Patel
--
You received this message because you are subscribed to the Google Groups "Ruby
2012 Sep 22
1
formtastic does not save at all
Rails 3.1.3
I am using Formtastic gem in order to deal with multi-select
dependencies.
<%= semantic_form_for(@give) do |f| %>
<%= f.inputs do %>
<%= f.input :departure,
:collection => Departure.find(:all, :order=>:city).collect{ |c|
[c.city,c.id]},
:required=>true %>
<div id="destinationCity">
<%= render :partial =>
2012 Apr 23
1
Simple_form bootstrap style inline-form not working properly
Anyone familiar with bootstrap and simple_form. Please help!
http://stackoverflow.com/questions/10279164/simple-form-bootstrap-style-inline-form-not-working-properly
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To
2010 Sep 09
17
formtastic issue
Hello,
I will try to explain it step by step :-)
I just created a new rails 3 app, then I created a new controller...
rails generate controller admin::users
I didn''t forget to add the resources in the routes.rb file like this.
namespace :admin do
resources :users
end
Now I try to use formtastic to create the form but I get erorr that my
users_path doesn''t exist?
2013 Mar 02
3
Help Radio button
Hi i''m fairly new to ruby on rails and i''m creating a form using
simple_form and in one bit i have radio buttons and say i have 3 buttons
a,b,c so i want it to be if a is pressed then certain text fields show, and
if b is pressed a different set of text fields show and similarly for c.
Can anyone help me on this?
--
You received this message because you are subscribed to
2006 Apr 04
2
how to perform client side validations in RoR?
Hi,
I have a form for user registration. In that form there are fields for
password & confirm_password. Now in my database there is column
corresponding to password field. Now at clicnt side I want to validate
equality of password & confirm_password field. How to do that?
I have downloaded one password validator plugin & tried to used it. But
it requirs two seperate fields in
2010 Aug 14
1
Rail3: UJS submit after client-side validation
I am have some problems with UJS. I have a (potentially) large form
that I was doing client side validation on (yes there is also some
server side validation) using an old prototype validation routine that
is not working with the current version.
I actually got validation to work by coping and modifying some of the
rail.js routine to observer submit. I also had some javascript toggles
that I got
2013 Jan 26
4
Best practice to handle this
Hi!
I have a model which has a field that can have three values only. I store
the value in the database as an integer, 0, 1 or 2, but when I display it I
want a more appropriate text. And, I want it to be translatable using i18n.
Let''s say that it corresponds to how difficult something is. So, 0
represents "Easy", 1 represents "Normal" and 2 represents
2012 Jan 07
2
set a default value with simple_form
hello
anyone know how i can set a default integer value with simple_form, i
have code like this below in my view but its not working.
<%= f.input :age, :value => ''30'' %>
i would like the input box to have the value of 30 by default
thanks for any help.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google
2011 Feb 03
2
Display note when MouseOver Input form
I''m using Rails 3, Formtastic an Jquery. I would like to display a
"floating" note when an input field gets focus.
A good example is when trying to submit a story on digg when you are
not logged in. What is the best way to do this?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send
2013 Sep 26
0
Devise Invitable and Validations -- what's the right way to do this?
Rails 3.2.14, Ruby 1.9.3, devise_invitable 1.1.8
I am trying to get invitations containing custom fields to validate their contents properly. I have tried the invite_keys hash route, as documented here: https://github.com/scambra/devise_invitable#model-configuration and unless I am doing something wrong with my Regexps, what happens is the fields are validated, but the error messages are
2013 Feb 17
5
Where do Gems Live (e.g. CKEditor)
I''m a Rails newbie and I have added the CKEditor Gem which is working
okay. To configure the gem though, you have to edit the config file,
which is also working when I do that. However, when I push to github and
pull to my other computer, the config file is not changed.
This lead me to the following broader question: when you use a gem,
where does the code go and how can you make sure it
2012 Dec 04
0
Empty test suite is run after every rake task
When I run rake db:migrate or rake -T I get these lines at the end:
Finished in 0.000276 seconds.
0 tests, 0 assertions, 0 failures, 0 errors
My Gemfile is:
source ''http://rubygems.org''
gem ''rack''
gem ''rails'', ''3.0.9''
gem "acl9", ''0.12.0''
gem "fastercsv"#, :version =>
2010 Jan 20
0
need help with nested forms and habtm
Hi,
I''m currently stuck with a problem I just can''t find a clever solution
for. I checked every tutorial, issuetracker, API reference I could
find but found nothing to "enlighten" me --> I desperately need your
help :-).
My Question is: is it possible to use nested forms for habtm
associations?
--> Here some more info about what I wanted to do and what failed
2006 Nov 07
2
Plugin to add client side JS forms validation ?
Hi,
is there a plug in or other things to easily add some client
verification for HTML forms ?
Thank you very much.
Nicolas.
--
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 post to this group, send email to