catapam / investnest

Project 04 - Code Institute
1 stars 2 forks source link

[TASK 3.1.2] Validate portfolio creation inputs. #61

Closed catapam closed 1 month ago

catapam commented 2 months ago

Ensure that the portfolio name and initial capital fields are valid before allowing the user to create the portfolio.

Acceptance Criteria:

Steps:

  1. Implement validation logic for the portfolio name (e.g., uniqueness, length).
  2. Implement validation logic for the initial capital (e.g., positive number).
  3. Display appropriate error messages for invalid inputs.

Linked Issues:

Next task:
Previous task:
catapam commented 1 month ago

commit The capital letter was changed for color, uniqueness has been considered unnecessary for this