IDK if I am doing something wrong but I am following academy video, So basically I have input fields in the form which are not making the thing change upon clicking save button, like if I try to update the first name it changes on the page and in the input as well but when I try to check it on the app data its not getting updated there. Same with every input field in my form. It’s just the name and avatar saved at the time of sign up, after that, it’s not updating.
Note: I am a beginner trying to learn Bubble through following Bubble’s academy videos.
Assumedly a data type exists comprised of the fields you are trying to change?
First step, have you created a workflow on the back of the Save button? The next action in the workflow would be to “Create a New Thing” and then you map your form fields to the fields of the data type (I.e. First Name = Input First Name’s Value) and so on.
If this doesn’t solve your problem, post an image of your workflow events and actions
Context:
So, I have two forms on the same page (personal details & Company details) now, I have two Data Types (user & company), Sign up form has an option to sign up as a company or as a candidate. I signed up a user as a company, so there will be a person’s details and the company’s details. Once the user is signed up settings page opens up from where user can edit thier information like name, location, about etc and both forms have picture for persona and for company’s logo. In each input field I have set initial text to user’s name etc so it will show what is saved in the data. I have set my page Type of content to: company (data type)
Problem 1:
user is signed up and logged in and wants to edit their information. They update the about section from thier personal details form. They will hit the save button and their information is saved and user can see their updated about section. However, when I see the app data the about section is not updated. Now even if user refreash the page user will see the updated about but not on my app data. which means somehow the input are making changes in data base but I can’t see them.
Problem 2:
Now the company’s detail form. I think it has to do something with page content type to company which I set. (but in the video his form was fine) The problem is unlike user details form this form is not saving enything, like not even the input field’s initial texts. when I save this form text in the fields stays but upon refreashing the page it goes away and same app data does not show anything updated. eg: I have a user dashborad on and there is a dynamic text of company name and it is set to “Current page’s company’s name” which should update upon hitting save button but it does not.
Here is the save button workflow for company
From memory when doing the same course with Greg, I can remember that on sign up, a user can define whether they are a job seeker or job poster. A job poster would naturally have an associated company.
If you are a job poster, upon sign up a custom event is triggered that creates the user and creates a company, and then links the company to that user. I.e. Make Changes to a User (result of Step 1), Company = Result of Step 2 (or something like that).
So my guess is that when you sign a user up, there is no linkage between the current user and the company that is created so that when you look at your form, there is no associated company and so nothing in your forms.
Send me a private message if you want to do a screen share if you still are having issues.