Solved

Default value in Radio Button

  • 23 February 2023
  • 5 replies
  • 204 views

Userlevel 5

I have created an initial form that has a radio button property with options yes and no. I want that property to have the yes option as default. how do I do that?

icon

Best answer by Leandro Almeida 23 February 2023, 22:42

View original

This topic has been closed for comments

5 replies

Userlevel 7
Badge +7

Hello, how are you? This is Leandro and I'm here to help you. 🙋‍♂️


I transcribe for you an article that we created in our Help Center, which will certainly help you: 

How to set up initial values?

Customize the link of your public form to share specific information with stakeholders.

Written by Isabela Saciotti

Initial values display a connected card in a public form. People that enter the form can view it, but can not edit it.

 

It's especially useful if you need to share specific information with determined stakeholders through the form.

 

Follow these steps:

  1. To begin, add a connection field to the start form. It will contain the initial value.

     

JVNFSOQ1llAuxoHG8SUonPozRTDWwNo0jCISX-vrTFEs1V8e6J9bw8WdDPhWIawkQTEKqcCRt-laSSzKqo4Q-35UCWgQaAWtBzsUoZgk_LaB2L29PNzaZgatcbmtE9Boc3NI68vU6EiEu9kL9z78hxs

Tip: You can show or hide this field on the form with a conditional.

 

2. Copy the link of the form's public version and open it in a new tab.

 

zgpMHYTLf0gI5g1fy0Ni_TAouWpDAbGu7pdHmYGuh23bTwp0mg_nq69puu0jQekmtor00h926AzWScDPCGT8nY3iMFdmZKG8xXL7Q0WZUIPCiptMqYgzD5uEsEpKKPvDPyfmL6f9K9zNW8WnCnFFZFI

3. On the page's URL, type in a question mark [?] to the link.

For example:

app.pipefy.com/public/form/formnumber?

 

-hBsj9S2Zjjtob3_EW1Pdmj9Uc8K_XG7O8Wxzazyx6EcarWTz2c-rtyvLylHhCgLnOPpqsPHF74x8XPCJ23gstk-X3aYL6hWmHeSvQA1C1_SslUv_sNXoYer36Nwg0UCshOt0OeVh5PWnqvGxck4h_U

 

4. Then, next to the question mark [?], type in the field's name.

 

For example:

app.pipefy.com/public/form/formIDnumber?FieldName

 

195c_d0u-9Hac9Vk-Cv2w4N7c__DTKlq7-RHuBazP9mcnfkomc6EyS5PkiYBmqaxY-YtKe1PzfDrNP79s4gPDmY16QOdUQNS84mpX79CgH1hQN_mSo1PW5oESgNLdt6_2A8C7HWR1tquRcFVnDuXvEc

5. Next to the question mark and the field's name, type in an equal [=] symbol.

For example:

app.pipefy.com/public/form/formIDnumber?FieldName=

 

D9kFC4OiMaqFztBgLJGX9WdSlOIg0w0uIMVSoeGrwer5rij52hy0F35afTAYxEn6rwFry3LSun3dpqpzPJoZhCY1Y59cN2ZXp5Hjs2vyUI_wXAfksplW-hwkgbY_xG9X3tonvR3o0V6pKU4V9h2cHhI

6. In your pipe, select the card you want to connect with another card. You can create this connection in the card itself.

 

X8mz9-Di2pY3jsIlS3QdsrwwDwpkFtAgBOeXM7j3C_kcCsUxKvPajKJTC3pQwEYxX-DW3-RAEpnvbmviZvio0RUERYJOsS-4zOS5k4UJKiThYXDuyrc33UQ251_xK9sYUGmspDAUH-e7ed7WVM9PTJ4

7. Open the connected card and copy its ID number, located at the page's URL.

 

6ICNFkRiXSBtB3oVtCAs6tCLnK9l0r1mpEm-A8I5qeD9hVj2YauSXfj7Oyh_siwBhEVwhsCYFW4KaM6V4839rkRsT33UwAK4Rp5Vr4VCsFUlGlUYN2Serm1NOEPfY35uhIP0oopXbZlggRfyCCQmOq0

Great! Now, open the tab with your public form.

 

8. Paste the card's ID number at the public form's link.

For example:

app.pipefy.com/public/form/formIDnumber?FieldName=1234

 

9FPw2q0L4qpOevhsAhuQUK-lqNK08a6FIbZG-8Ic_DD2OK04osemLN0BLyZzNIC3Kb6gFNMkhTpdERlMzC4N2r5EZrIkgCfbGVgQLxtAb1E2fHTgOFTPNugeP49yQxT_eV6V_jAiyEEs03En_3Rq8Qs

Refresh the page and you're done!

 

e8X3jv_vvUWhQp1cv_KIdQnk5KoorJg9qhSiNlzigaqk4GFwlXj2HPTuIZiqvr1obC1wrWbsl5C-98VcDx_FQeONsPjLxvByPeI9mnYcL0dy2lBfqLEIaW8S4rmKhBMvw1PpZyhPEAsp7kIV4U8chik

 

If you still have any questions, please contact me. Ok? 

Userlevel 5

Hi Leandro, thanks for your reply. I tried this procedure, but was not successfull. Does this procedure work only with connected cards, or with any typoe of attribute? for example, in the example used in the article, can an initial value be set to the attribute “Your name”? If yes, how do I include the attribute name, which in this case has a “space character” in it? And with radio button attributes, do I have to use any indez to assign which option is the default? Or do I use the text of the radio option?

Userlevel 7
Badge +7

 

Hi Ricardo! 🙋🏽

So it would be a field that should allow some kind of interaction for the person who will fill out the form, even if this interaction induces only one answer? just "Yes"? 

If so, I suggest a Radio Button with only one "Yes" option and a minimal justification for that in the title. If I understand your question and desire correctly. 

 

Userlevel 5

No, it must have two options (yes and no), but it should come with one of the options pre-selected (the yes is selected, and user can Change to no if he wants)

Userlevel 7
Badge +7

Thanks for the feedback.

Actually, the way you would like it is not possible. But if I may ask, could you leave this idea as a suggestion on our channel? 

If it is possible and compatible with our product, it will certainly be considered by our developers. Every good idea is welcome! 

This is the link for suggestions: https://community.pipefy.com/ideas  

If I can help you with anything else, call me, ok? 

See you later!