Validator for internal studies not loading
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 12
- Forks
- 21
- Avg merge
- 5d 19h
- Merged PRs (30d)
- 5
Description
Summary
While helping a researcher debug an experiment JS issue, I noticed that our js-validation.js file isn't loading on either the EFP or jsPsych edit pages. I see a 403 error in the network tab. The result is that the validation fails to run on the edit form submit action (because the jsValidation function is not found). The red text that should appear on form submission (#1308) does not show up, but I think the changes are still saved.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how js-validation.js is loaded on the EFP and jsPsych edit pages, then reproduce the 403 in the browser network tab and follow the form submit path where jsValidation is expected. Done means the script loads successfully, validation runs on submission, and the expected red text appears instead of allowing invalid changes to save.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100