Hi! I’ve created a submission form that feeds a data collection based on submission ( not content ). Underneath the form I’ve created a gallery tied to the database. Everything works perfectly. I can upload pictures, and they appear in the gallery. However, as soon as I leave the page, and come back to it the pictures in the gallery below the submission form have disappeared. The problem exists after publishing as well. Any help would really be appreciated!
Could you post screenshots of setup and/or code? The problem is most likely in your logic. If you say the gallery appears based on submission … and they are not ‘submitted’ anything when they return to the page … then most likely nothing will appear.
Hi Code Queen Nayeli, thank for your reply! This is the page in editor - the collection is set up on ‘form submisson’ - the mempix3 dataset is ‘write’. In preview the page works perfectly in one sitting session. I submit pictures, they are successfully saved to the collection, they appear in the gallery with name and caption - all good. The problem starts if I navigate away from the page. When I come back to the page the pictures have disappeared. They are still visible in the collection but no longer appear on the page.
The error code is :
What I am trying to do is have people submit pictures that are permanently visible on the same page
I’m wondering if the problem is that the collection is based on ‘submission form’ rather than ‘content’, and if that is the problem how to overcome it. On every other page the same gallery type attached to a ‘content’ based collection, and a ‘read’ dataset work - no problems!
The curious thing is that if I create a totally new page and attach a gallery to the same collection and dataset it seems to work.