Skip to content

UI - Form Option Validation #30646

Closed
Closed

Description

@arlentees
  • Conditional enabling / disabling of fields

Fields to validate:

  • Strata hotel platform registration number
  • Short-term Rental Property/Unit Type
  • Property Host Type
  • Rental Unit Set-up
  • Stepper validation should follow valid/invalid form fields

Activity

  1. self-assigned this
    on Sep 18, 2025
  2. dimak1 commented on Sep 20, 2025

    @dimak1
    Collaborator
  3. J-Baese commented on Sep 25, 2025

    @J-Baese
    Collaborator

    @dimak1 For the validation messages the property type section I've updated the text here: https://www.figma.com/design/a4H3s0ebAxwv8ZniyNAt4g/STRR-Host-Registration---Redesign?node-id=9732-16363&t=RoCWbwpxdpovPpQa-1 to be more informative. Any questions let me know - i'll be updating the matrix as well to help out with clarity.

    If a user selects nothing for housing selections and then goes back and selects the exemption for strata hotels the error should clear on the STR property unit type
    image.png

  4. dimak1 commented on Sep 27, 2025

    @dimak1
    Collaborator
  5. J-Baese commented on Sep 29, 2025

    @J-Baese
    Collaborator

    Hey @dimak1 Property host type and unit type are showing the wrong validation msgs:
    image.png

    The msgs are all in the validation matrix master file

  6. dimak1 commented on Oct 1, 2025

    @dimak1
    Collaborator

    Updated error messages in UI v1.2.34

  7. J-Baese commented on Oct 1, 2025

    @J-Baese
    Collaborator

    @dimak1 good to go!

  8. dimak1 commented on Oct 6, 2025

    @dimak1
    Collaborator

    Ready for QA in Test env. Host UI v1.2.35

  9. moraesfm commented on Oct 17, 2025

    @moraesfm

    New error message is now updated:
    image.png

    Under these conditions, the Short-term Rental Property/Unit Type clears out any previous information and pre-populates with "Strata Hotel" and it becomes disabled
    image.png

  10. victorc-bcgov commented on Oct 22, 2025

    @victorc-bcgov

    Passed BAA - Confirmed that selecting a PR exemption of "Eligible strata-titled hotel or motel" automatically sets Short-term Rental Property/Unit Type as "Strata Hotel". Also confirmed that the Strata Hotel Platform Registration number must be of the format "ST#########" (ST followed by nine digits).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions