Can't save a form

I’ve created a profile page, so you as a member could update your details.

The issue i’m having is, i can’t get the form to update!

I keep on getting: An error occurred. Try again later

Here is the page: profile-test-site

Any pointers will be greatly helpful please.

Hey,
I’ve accessed the page and noticed that the dataset mode is set to “Read & Write”.
In this case, the site member only writes to the collection. Therefore, the mode should be changed to “Write only”.

You can get more information about the dataset modes here:

You can view the Basic Form example:

Have a good day,
Tal.

Thank you Tal, but now the details are not showing in the item page: https://loaibassam.wixsite.com/profile-test-site/Items/Asdas

Hey,

I accessed the page and the fields which are connected to the “Profile” collection are displayed correctly in the Editor , as you can see here:

Note that the other elements are connected to the " Items " collection , however the collection itself is empty in the Editor .

Please make sure that the sandbox collection and live collection are synced and that the site is published :

Have a good day,
Tal.

Thank you so much it is working now! Only one thing, the inputs in the profile section, should show the existing values

Hey,

I noticed that it shows the existing values, so I’m not sure that I fully understand to which inputs you were referring:


Moreover, I noticed that you currently use a gallery to display one image. I recommend using an image as a placeholder instead of a gallery. You can view the correspondence here with an explanation about it.

Best,
Tal.

Hey Tal, those only show when you are logged in, if you log out and view it as guest, it won’t show.

Sorry i should of been clearer, thank you so so much for your help!

Hey Tal, I have tried to get this fixed but still to no avail.

For some reason, you can see the entires only when you are logged in, if you log out or view it without logging in, you will not be able to see any of the entries.

Any indicators of why this is happening would be greatly appreciated, thank you so much!

Hey,
I noticed that the DB collection permission is currently set to Site Member. Therefore, only logged in users are able to view the information. If you wish all users to be able to view the content, you will need to change the permissions as explained in the links below:

https://support.wix.com/en/article/how-to-set-permissions-for-a-database-collection

Have a good day,
Tal.

You are the best! THANK YOU!!! One last thing please, on this page: profile-test-site

The pre-set values, can we show them in the input? so if your name was TEST, next time you visit this page, the input will be pre-filled with TEST, and then you can update if you want.

Hey Tal, any pointers? thank you.

Hey,

Do you wish that a registered user will be able to create multiple profiles?
I think that you should check if a user is logged in, and if so redirect him to the “homepage” or any other page.

Please clarify what you would like to achieve

Tal.

Oh no, everything is working fine - but only issue left now is:

When you go to the profile tab, you will be able to see the inputs, such as name, email, phone, address.

They are empty, can we make them show the current values?

Hey Tal, does that make sense?

Hi,
I’m sorry for the late reply.

As for your query- since you wish to write and read records from your DB collection, make sure to set the dataset to Read and Write permissions.

Afterwards, the last updated item will be displayed in the form. In order to set the fields to the logged in user, you would need to use the Wix Users API to get the email of the logged in user.

To finish the process, create a filter using the email address (which is a unique value).

Regards,
Tal.

Hello I’ve tried all the solutions listed above to get the form to work. It keeps saying “try again later” Here’s a link to the form. www.ellisislandentertainment.com/newtalent

Hi,
As mentioned above your database setting are only allowing admin to create content to the collection.