cmciosu / hemp-db

https://hempdb.vercel.app/
MIT License
1 stars 1 forks source link

Validate Forms #57

Closed paullpp closed 4 months ago

paullpp commented 6 months ago

We need to validate forms to make sure users input the correct type of data. We also got a list from the project partner telling us which fields are required, so we'll need to change the form to reflect that.

paullpp commented 6 months ago

Here is the list of fields we need to make required:

Entity Name 

Status 

Industrial/Chemical 

Headquarters’ Country 

Stakeholder Description 
paullpp commented 5 months ago

with required checking done, the only thing left to do for this is to do type validation, meaning changing fields to their proper types. currently everything is varchar, but int fields should be ints, date fields dates, etc.

paullpp commented 4 months ago

no longer needed