fssa-batch3 / fssa-batch3/kingston.william__web_project

Disease name it's required whether I gave yes or no

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

![screenshot](https://netlify-cocoon.netlify.app/.netlify/functions/fetch?code=307&path=eyJzaXRlX2lkIjoiMmM3MmMyZjEtODk0NS00ZTRjLWE1NzktZWVlZTJiZjkyNTgxIiwiZGVwbG95X2lkIjoiNjQ1Mzc4OTI1NDE3OGQwMDA3MTBkMGUzIiwiaWQiOiJmNGQ0ZDc4Mi1lMjBmLTQwYzgtYTI2Ni1iZjQ1YmZlMzdhZTQifQ==)

![screenshot](https://netlify-cocoon.netlify.app/.netlify/functions/fetch?code=307&path=eyJzaXRlX2lkIjoiMmM3MmMyZjEtODk0NS00ZTRjLWE1NzktZWVlZTJiZjkyNTgxIiwiZGVwbG95X2lkIjoiNjQ1Mzc4OTI1NDE3OGQwMDA3MTBkMGUzIiwiaWQiOiJhMjM0MzllNy1hMjUyLTRiYTMtYmE5OS0wZTc0MjFjODNiOGEifQ==)

### Description of issue
I given no to allergies or disease in the radio input but it's asked me to enter the values in diesease

### Expected result
it's not required when i click No to allergies

### Actual result
it's always required whether i click yes or no

### Steps to reproduce
1. I gave no to you had any allergies or disease radio input
2. Then I click submit
3. It asked disease name is required

```
Path: /pages/donor_registration.html
Browser: Chrome 112.0.0.0 on Windows 10
Viewport: 1504 x 860 @1.5x
Language: en-GB
Cookies: Enabled
```

[Open in BrowserStack](https://www.browserstack.com/user/try-live?url=https%3A%2F%2Fdeploy-preview-1--donorr.netlify.app%2Fpages%2Fdonor_registration.html&os=Windows&os_version=10&browser=Chrome&browser_version=112.0&resolution=1504x860&speed=1&start=true&ref=netlify-source)

Submitted from [Netlify Deploy Preview #1](https://deploy-preview-1--donorr.netlify.app/pages/donor_registration.html)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in /pages/donor_registration.html and reproduce the form submission with No selected for allergies or disease. Inspect the radio-dependent disease-name validation; done means submitting with No does not require a disease name, while the field remains required when Yes is selected.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend, web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.