Skip to main content

Building a custom form with multiple tagging sections

 

I’m trying to build a custom form that will have multiple sections, that will tag people with their response. I can get the html displaying the way I want it to, and submit the form with the “text_fields”, but when it comes down to tagging people…. I’m lost!

code example,

     {% form_for signup %}   

     {% hidden_field_tag "page_id", page.id %}     

{% error_messages_for signup %}

Can you verify your information?

  • {% text_field "name", class:"text", placeholder: "name" %}
  • {% text_field "email", class:"text", placeholder: "email" %}           
  • {% text_field "submitted_address", class:"text" %}

i am A...

Check one that applies

           Democrat  

           Do Not Identify

What issues matter most to you

Check one that applies

        National Security    

         Israel

         Securing the Border             

         Issue 4

         Issue 5

         Issue 6                               

how often would you like to receive updates?

Check one that applies

         Daily

         Weekly

         Infrequently                                     

         {% submit_tag "Signup", class:"submit-button" %}

         {% endform_for %}

Any help of feedback would be AWESOME! Even a place to reference some samples.

Thanks !





Share this post

Showing 2 reactions

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.