blue-horizon-lab / connecty-ico

GNU General Public License v3.0
0 stars 0 forks source link

Saving KYC process #58

Open Nathael opened 6 years ago

Nathael commented 6 years ago

Once the user has started filling the KYC form, he can save the form content. This moves the status to "Initiated" Displaying the KYC block will recall the previously saved content, until the form is sent for validation.

slamazelo commented 6 years ago

Modified : the data is still saved in db from the beginning to the end of the process

Nathael commented 6 years ago

No, no data is saved in database while the user is filling a form. Saving the form content allows the user to recall the content for future completion without submitting it for review.

slamazelo commented 6 years ago

"recall the content for future completion" means "being saved in some database somewhere". so, we must save in db from the beginning or give me the solution.

Nathael commented 6 years ago

"save in db from the beginning" is ambiguous.

The save in the database happens when the user klicks the "save" button, not before. Thus nothing is saved "from the begining" If the user does not click on the save button and goes to another part of the dashboard, the data is lost, and should not have been sent to the server, ever.

This means that the KYC form has two submit buttons :

This also means that we can add a popup when the user has some form fields filled and he leaves the KYC module, to let him know that he can save for future completion, or leave the KYC module and loose the form content.