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.

https://github.com/delboy1978uk/jquery-browser-fingerprint


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -