Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Fillable form with a circle

New Here ,
Sep 24, 2020 Sep 24, 2020

How can I create a button that circles an answer when it is clicked

 

I am trying to create a fillable pdf form that includes some yes/no questions as well as "rank your answer from 1-5" and want the user to click on their answer and a circle appears around it. Not covering it up or a check mark near it, but a circle (I guess it could be a square or rectangle or something as long as the intent and answer are obvious) completely around the answer. It would be extra great if the user could click it again and it would unselect it, incase they change their mind or misclick.

Is this possible? Thanks!

TOPICS
PDF forms
5.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Sep 24, 2020 Sep 24, 2020

Can you share photo or file?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 24, 2020 Sep 24, 2020

Sure, here is a few screenshot of the kinds of things I need to do. This first one is like a questionaire, circling the number you agree with...

 

Screen Shot 2020-09-24 at 2.13.51 PM.pngexpand image

 

This one is supposed to circle all the answers that describe the things they are looking for....

 

Screen Shot 2020-09-24 at 2.14.10 PM.pngexpand image

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 24, 2020 Sep 24, 2020

One solution for this would be to  create button and make it's border transparent and put answer as button label and then use this code as MouseUp event of the button:

event.target.strokeColor = color.equal(event.target.strokeColor, color.transparent) ? color.red : color.transparent;

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 24, 2020 Sep 24, 2020
LATEST

The problem with that approach is that buttons don't have a value, so if you later want to export the selected values to a spreadsheet or even just calculate a total score or an average, it's much more difficult.

 

I would advice against trying to do it altogether. Just place a radio-button next to each number, or move the numbers to the header row of the table and place radio-buttons in the table itself, if there isn't room for both.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines