+ 1
Insert two forms in the same database same row(spring boot)
So i have a s sign up form and a register form that a new user should fill , but when he fills it the data got sent to different rows even tho he’s the same user and these two forms are in the same entity. Help please !
3 Réponses
+ 2
Ok, so I really don't know what sort of help you expect. Encouragement?
Doctors typically don't do brain surgery through the telephone.
Same way it would take a crook or a psychic to advise you on code that you are not showing. :)
+ 1
"register" and "sign up" mean the same thing: when a new user wants to start using a service. I am not sure what you mean by "the same user" when the user is new.
You did not post any code, so you can't really expect someone to tell you where you made a mistake.
You can find plenty of online tutorials in this topic, maybe try to complete one of them and learning the "how", you will be able to apply it to your current task.
https://www.javaguides.net/2018/10/user-registration-module-using-springboot-springmvc-springsecurity-hibernate5-thymeleaf-mysql.html?m=1
0
I mean tge sign up form is just for email password and the register for the other specific details, i can’t post the code cuz it contains a lot of classes its gonna be messy