javascript - Ninja Forms - limit submissions to one per user with out requiring the user to be logged in to view the form -
i'm using ninja forms , want site visitor see form once. doesn't seem function of ninja forms self.
not knowing much... can add code use cookies , determine whether or not visitor has seen form, , if hide second time?
even better yet replace form message in it's place. "sorry 1 submission per person"
i did see "localstorage" in research.
i see post don't understand how or if can use needs set cookie , cookie javascript
you use browser fingerprinting library generates unique id per device. store id , check when creating page form.
here's 1 such lib made in javascript. you'd need take id , pass server level.
Comments
Post a Comment