If you have several submit elements (inputs or buttons with type="submit") that each cause different things to happen (e.g...

For some reason you want to define a find condition in array form. And in that condition both column name...

When using virtual attributes, the attached trait can be useful to automatically copy errors from one attribute to another.

Use this if you want to show or hide part of a form if certain options are selected or boxes...

Capybara does not play nice with sites that have some actions protected by SSL, some not. A popular way to...

makandra dev
prototypejs.org

For example, to send a form and populate a preview div with the response. $('content_form').request({ parameters: { 'preview': "1...

In Webkit you can use the HTML5-attribute autofocus: = form.text_field :title, :autofocus => 'autofocus' Here is a jQuery fallback for...

dehora.net

I've seen this granularity problem on every project, product or program I've worked on. Often in non-agile...

blog.smartlogicsolutions.com

I just finished reviewing Rails 2.3 Nested Object Forms. While a very nice and “magical” feature, I’ve got to...

pragdave.pragprog.com

So, as a result, people using RESTful ideas to talk to browsers have to put the smarts back on the...

modporter.com

Porter is essentially the inverse of X-SendFile. It parses the multipart post in C inside your apache process and...

validatious.org

validate( "email".is("required").andIsAn("email") );

blog.henriquez.net

Even though the gradual engagement meme has been around for a while, and everyone just hates signup forms, they just...

cxpartners.co.uk

cxpartners has an interesting eye tracking study on form design. They distill the results into a few simple guidelines which...

ui-patterns.com

In order to lower friction and the hurdles to pass, users need to be provided with a reason to trust...

lukew.com

A while ago, I came across a unique registration form built by Jeremy Keith for his audio sharing site, Huffduffer...

github.com

File upload solution that supports form roundtrips when a validation fails.

github.com

Test spies are a form of test double that preserves the normal four-phase unit

Just assign the existing attachment to another record: new_photo = Photo.new new_photo.image = old_photo.image Paperclip will duplicate the file when saving...