Apr 21, 2019 07:11 PM
I’m having trouble prefill-ing a “checkbox” field.
I’ve followed the guide on the support forum (I’m not allowed to link it here for some reason)
and everything works, except for my checkbox field. I’ve tried “1” “true” “checked” (which is stored in the table/grid view tied to this form). None of these work. What is the proper value to pass in URL parameter to have this field “checked” on load?
Solved! Go to Solution.
May 28, 2019 10:00 AM
Yes, it’s possible. Set the checkbox value to equal 1, like below:
?prefill_Form%20Checkbox=1
Apr 21, 2019 09:47 PM
Hi @Mark_Pippin
I did a quick search and I managed to find some information about prefilling in forms, I don’t know if you saw this:
Hope it helps!
Mary
Apr 22, 2019 05:51 AM
I did see that, but the forum wouldn’t let me link it.
Following that has me successfully pre-filling all values except the elusive checkbox field I mentioned.
May 28, 2019 10:00 AM
Yes, it’s possible. Set the checkbox value to equal 1, like below:
?prefill_Form%20Checkbox=1
May 28, 2019 11:17 AM
Laura -
Does a variation of that exist for, say, ratings as well?
May 28, 2019 11:24 AM
I wasn’t familiar with the “Rating” type of input, but I just tried it out and yes, you can use numerical values to prefill the number of stars award, etc. Same syntax:
?prefill_Review=3
May 28, 2019 08:32 PM
Thanks Laura,
I’m not sure what I was doing wrong when I posted this question, and would have swore I tried the provided, but I guess I didn’t (or code silently changed since?)
Anyway, your answer is working perfectly for me today. Now I can prefill that checkbox and stop clicking it manually. (It was such a minor inconvenience I put the issue on the back burner)
Thanks again.
Feb 15, 2021 12:14 PM
Hey guys, I could use your help. I have a form with a checkbox I would like checked by default when someone fills out the form. The field I’d like to have checked is “Helping”. the below doesn’t seem to be working. Any advice?
url?_Helping=1
Feb 15, 2021 12:33 PM
This is what you would use:
url?prefill_Helping=1
If you have more advanced prefilling needs, you may want to check out this app which @kuovonne created, which helps you construct your URLs properly:
Feb 15, 2021 12:52 PM
I tried that and for some reason it didn’t work. Very strange.