neardevhub-bos icon indicating copy to clipboard operation
neardevhub-bos copied to clipboard

Implement form validation for relevant post types

Open ori-near opened this issue 1 year ago • 0 comments

  • [ ] For idea, solution, sponsorship and attestation, Post Title and Description Cannot be both Empty
  • [x] For sponsorship and solution, Requested amount cannot be empty and must be positive number
  • [ ] For solution, if request sponsor is provided, must be valid account id
  • [ ] For sponsorship, supervisor must be valid account id
  • [ ] For comment, description cannot be empty

Question: should we also restrict sponsorship supervisor to be the same account who created the sponsorship post?

ori-near avatar Oct 03 '23 23:10 ori-near