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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -