question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

feat: questionnaire validation

See original GitHub issue

I’d love a possibility to validate questionnaire inputs. Being able to validate str against regex would already be a huge help, e.g. by specifying a field appropriately in copier.yml:

project_name:
  type: str
  help: Your project name
  validate: ^[a-zA-Z][_a-zA-Z0-9]+$

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:16
  • Comments:16 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
barrywhartcommented, Sep 16, 2022

@yajo, @pawamoy: I have a possible fix for the test failures in #785. See PR #804.

2reactions
yajocommented, Jun 14, 2022

Correct!

Another example:

your_age:
  type: int
  validator: "{% if your_age <= 0 %}Must be positive{% endif %}"
Read more comments on GitHub >

github_iconTop Results From Across the Web

Validating a Questionnaire - Methodspace
Validating a Questionnaire · Generally speaking the first step in validating a survey is to establish face validity. · The second step is...
Read more >
Development and validation of a new tool for the assessment ...
The new questionnaire, based on empirical research and bedside experience, showed good psychometric properties and clinical applicability.
Read more >
Validation of the professional identity questionnaire among ...
Hence in this study, we investigate the validity and reliability of using Brown et al.'s [1986] Professional Identity Questionnaire (PIQ) to ...
Read more >
Development and Psychometric Validation of the Music ...
The Music Perception Ability Questionnaire was developed to assess the general perception ability of non-musicians and enable them to assess their music ...
Read more >
What Is a Questionnaire and How Is It Used in Research? - Cint
A questionnaire is a research tool featuring a series of questions used ... they may offer inaccurate answers that can impact data validity....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found