PennController for IBEX › Forums › Support › Matching Participants on Race/Gender? › Reply To: Matching Participants on Race/Gender?
June 11, 2020 at 1:37 pm
#5623
caljones
Participant
Hi Jeremy,
I’ve added this code, but when I test it the new window opens with a url like this one: https://expt.pcibex.net/ibexexps/caljones/Avatar/server.py?race=Please%20select%20the%20race%20that%20best%20describes%20you.&sex=Please%20select%20the%20sex%20that%20best%20describes%20you.&id=asdf
It seems like, despite selecting a race/sex, the URL is taking the text of the question rather than the selected dropdown. This results in a 400 Bad Request error when the new window opens. Any ideas on what might be causing this and how to fix it?
Thanks,
Callie