Need help with developing a new Input type "Canvas" #916

ghost opened this Issue Jan 30, 2013 · 1 comment


None yet
1 participant

ghost commented Jan 30, 2013


i want to develop a new input-field "as: :canvas" which is making a small canvas where you can draw on it. mostly useful for signin something on an ipad or tablet (thats where i use it for).
the hole thing is working, BUT im pretty sure i did it in a wrong way.

i will put my code here and hope somebody can use it, clean it up and pull it into the formtastic.

<%=f.input :autograph, as: :canvas %>


source is super easy

would be cool if i could help a little bit and contribute to this awesome gem with a cool idea . but i really dont know how to handle the options things, how to do whatever :(



justinfrench commented Jan 30, 2013

Hi, this looks great! If it's working for you, I wouldn't worry too much about improving it. This really isn't something I want to see in Formtastic core (too specialized), but this would make a great extension, or at the very least, linking to it from the wiki to help others find something like this would be awesome.

Adding to this page would be a great start:

Closing this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment