Survey Html Form - button in card #2700
Replies: 2 comments 1 reply
-
Hi there! If the standard plugin parameters do not give you what you want, you may like to edit the plugin itself. That is what I generally do when I have that kind of problem. I assume you are using jsPsych version 7.2.3.. In this version, the survey-html-form plugin seems to contain the button HTML in the following code: You might also consider adding a coloured div element around the form and the button to make sure they are contained in the same box: You can read more about plugin development on the jsPsych website. I hope that helps! |
Beta Was this translation helpful? Give feedback.
-
Hi @EmmarleneK, in addition to @puzzleGuzzle's solution I just wanted to add that you should be able to modify the For instance, your CSS rules might work if you select the submit button using more selectors, e.g. the tag, ID and class: input#jspsych-survey-html-form-next.jspsych-btn {
background-color: purple;
} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm new to JsPsych and it feels like my question is a bit trivial, but I couldn't find an answer so far. So, it would be great if you could help me!
I've created a trial interface as shown in the image below. Now, I want to move the 'Submit' button so it also becomes part of the purple card. However, the SurveyHtmlForm plugin doesn't seem to have any way to do this, or to even style the button (button_html as used in HtmlButtonResponse plugin does not exist in the SurveyHtmlForm plugin (shows no effect)).
How can I do this?

Any help would be great! :)
Beta Was this translation helpful? Give feedback.
All reactions