Hey! I can't figure out how to make some functions, but first, let me explain my thoughts:
I have made a table, connected it to a database, which then is connected to a text box, where users can leave a comment. They submit this comment by using the "submit button" (made pretty much according to the "Wix code handbook" :-)
Everything works. The setup is as the picture below. The red text are my comments, to show what the different things do. The expand button doesn't do anything yet (should be working when problem is fixed).
Me problem is the following: I would like, as a standard when the page has loaded, to only show the first four comments. However, then I would like to have an expand function to show maybe the first 10 comments or so - how can this be done? It seems like that the only option is to either have a automatically expanding table as more comments enter or have a "scrolling" option to the table - neither is great for my use.
This is a link to the site, btw: https://rikkenielsen96.wixsite.com/mock-up/kirstenolsen
Many thanks in advance!