How to ask a yes/no question on subscription form

  • Mark
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 1 month ago #59933 by Mark
If I just want to ask a user a simple yes or no question, what is the best field type to use in custom fields? I would think it would be a checkbox or radio button, but under "Checkboxes" or "Radio", I can't figure out where to enter the question.

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #59969 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How to ask a yes/no question on subscription form
Hi Mark

1-> You can use Radio field in this case.

2-> For the question, you should enter it in the title of the field

3- > For the Values of the custom field, just enter Yes (on the first line) and No (on the second line)

Tuan

Please Log in or Create an account to join the conversation.

  • Mark
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 1 month ago #59983 by Mark
Thanks for your reply!
Is there a way to make the radio button appear below the title rather than to the right? Using the question for the title makes the question appear in a rather narrow column that ends up being too tall and narrow, especially if the question is a long one. If I use CSS to make the column wider, the radio buttons would still be way off to the right, which doesn't look right either.

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #59998 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How to ask a yes/no question on subscription form
Hi Mark

Unfortunately, it is not possible without modifying the code. Could you please send me the link to the page you are talking about so that I can look at it to see how it look like now and give you our suggestion ?

Tuan

Please Log in or Create an account to join the conversation.

  • Mark
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 1 month ago #60028 by Mark
The site is on a local dev server, so I'm not able to share it with you at this time. I'll just have to do my best with CSS styling. Adding the flexibility of putting the answer buttons below the question would be a big improvement for future releases...

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #60035 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How to ask a yes/no question on subscription form
Hi Mark

I think you will have to control it by css somehow. If you want to put the answer below the title, I think it is possible with modify the code abit (change the class of the form), however, if you make the change, it will affect all other fields (for all other fields, the input will be displayed in the title as well)

I am not good at css, so I could not guide you with this change. If you can setup your site to a server where we can access, I would be happy to ask my template developer to look at it and guide you to change it

Tuan

Please Log in or Create an account to join the conversation.