I am still learning Webflow and I’m trying to figure out if it can do what I need it to do.
What I want is to have a button on a page and when a user clicks that button, a random item from a Collections appears.
My only hurdle at this point is that I do not know how to get the data from the Collections. My first thought was to google around and I found the CMS API documentation. The issue here is that the CMS API requires keys and appears to be meant for backend to backend integrations rather than user interactions. ( I don’t want to give users keys to insert or delete data from my collections )
The rules ask that I provide a link to the closest thing that accomplishes this. This is the closest thing that I could think of: http://www.fantasynamegenerators.com/english_names.php Please note how clicking “Neutral Names” does not refresh the page but is still able to display random results? That is what I am trying to accomplish.
Is this possible? Does anyone know how to do this?
EDIT: Before anyone mentions that I am not following the rules for the ‘Custom Code Help’ forums, let me please mention a few things. #1 I do not want to post a link to the read-only or the published site as it has sensitive content and is currently password protected. Plus it won’t be very helpful as nothing related to this issue is in place. #2 I am not trying to link to a 3rd party plugin, I’m trying to write custom code myself. #3 There is nothing to screenshot aside from a button and an empty div. #5 There are no errors, at least not yet.