Skip to content

Fix/form smart defaults - #1923

Merged
komalharshita merged 2 commits into
komalharshita:mainfrom
Soumya1Kesharwani:fix/form-smart-defaults
Aug 19, 2026
Merged

Fix/form smart defaults#1923
komalharshita merged 2 commits into
komalharshita:mainfrom
Soumya1Kesharwani:fix/form-smart-defaults

Conversation

@Soumya1Kesharwani

Copy link
Copy Markdown

@komalharshita Ma'am.
Please review my PR-

Summary

Auto-assigns smart fallback defaults (Web for Interest, Low for Time) if optional dropdowns are left unselected when generating project recommendations.

Type of Change

  • Bug fix — resolves a broken behaviour

What Was Changed

  • src/static/script.js: Updated validateForm() to auto-assign default values if Area of Interest or Time Availability are left blank, ensuring project recommendations always generate upon clicking Generate My Projects.

How to Test

  1. Select skills on the homepage without touching Interest or Time Availability dropdowns.
  2. Click Generate My Projects ➔ Matching project recommendation cards display immediately!

If everything looks good ,merge it to main code.

@komalharshita
komalharshita merged commit 90debe9 into komalharshita:main Aug 19, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants