Commit Graph

12 Commits

Author SHA1 Message Date
Becky Gilbert
56bf9c68e7 change responses to response in survey-html-form plugin #638 2021-02-17 15:38:22 -08:00
Josh de Leeuw
0aac702f1c implements #670, needs further checking 2021-01-14 10:28:18 -05:00
Becky Gilbert
a891526e89 edit formatting 2020-10-02 11:39:44 -07:00
Becky Gilbert
402d4f0d8f
Merge pull request #1072 from chrisbrickhouse/Iss-1062
survey-html-form: add autofocus parameter
2020-10-02 11:35:37 -07:00
Christian
ebb6fce877
survey-html-form: validate autofocus parameter
When the autofocus parameter is set, check that
the specified element exists in the DOM and
check that the specified ID is unique. If there
is not exactly 1 element with the given ID, warn
the user about unexpected behavior.
2020-10-01 19:45:49 -07:00
Christian
47e6080d63
survey-*: stop autocomplete add param to enable
Excludes survey-multi-select since it's highly
specialized and the parameter doesn't really
apply to it.

Issue #1064
2020-09-23 21:47:15 -07:00
Christian
8d8ee8ae55
survey-html-form: add autofocus parameter
Users can provide the id of an element to focus on when the
slide is displayed. While HTML5 has an autofocus parameter
it is not universal and not all browsers support it. This
solution should work across browsers and is more in keeping
with the jsPsych object style.

Issue #1062
2020-09-23 21:05:42 -07:00
Josh de Leeuw
9a682bb260 fix semicolon bug 2019-07-05 11:20:59 -04:00
Josh de Leeuw
208ecf0365 some minor tweaks to survey-html-form plugin 2019-07-04 15:24:37 -04:00
Jan Simson
40d50e89a2 html-form-plugin: Return JS Object instead of JSON String 2019-04-04 10:43:57 -04:00
Jan Simson
e2aac619a7 Use proper type for html parameter in survey-html-form plugin 2019-03-20 17:49:48 -04:00
Jan Simson
1b36f56daa Added jspsych-survey-html-form plugin 2019-03-14 16:17:51 -04:00