If you don’t want to touch code, you could create a page whose content only logged-in users can see. That way only valid users can see the form. You’d want to look for a content restriction / membership plugin to handle the protection of that page. You can set a field – perhaps their email address – to only accept unique submissions, so if someone tried to vote twice, Ninja Forms would prevent them from even submitting a duplicate.
If you want to touch code, you could register a hidden field in your form (see https://paulund.co.uk/register-hidden-fields-ninja-forms but instead of including user IP you’d use get_current_user_id()
to capture their auto-generated WP ID). You would then also want to create a child theme and apply a template to that specific page to hide the form if the current user is not logged in.
Related Posts:
- User input form field value validation ninja forms 3
- Grab values from the query string to fill in hidden fields in ninja forms [closed]
- What is & used for
- How to edit a user profile on the front end?
- How to display user registration form on front-end of the website?
- Creating a contact form without a plugin [closed]
- How to submit data from HTML form?
- Autocomplete for taxonomy input boxes on a front end form
- Sending form data via PHPMailer – How to action PHP script from a form
- how to handle forms in multiple pages?
- $_POST empty on submit (same code, same form submits normally on local server)
- Gravity Forms skip form if already filled out using cookie?
- One comment per user per post
- Looking for a simple approach for handling user $_POST data without AJAX?
- How to return variables from admin-post.php
- Setting specific image size for specific form upload file field
- Contact forms going into spam folder
- Get data from dropdown and update page
- Using the WordPress selected() function
- Return to option page after running PHP script
- Help with forms and nonces
- Stripe Error: must provide source or customer [closed]
- Cannot prefill hidden Ninja Forms fields
- How to submit form in a PHP file in WordPress?
- How to prevent page from resubmit on refresh when “Cannot modify header information – headers” warning shows
- How to redirect new WordPress user to previous page after registering
- How can I find actual logic php file in form’s action path?
- WPForm, how to set date to tomorrow
- php form create 2 posts
- Creating a contact form with Laravel frontend
- How to integrate a form (Ninja Form or Contact Form 7) with Custom Post Types?
- Contact Form 7 – Add a Info Text to Checkboxes/Radiobuttons [closed]
- Make a form that will send email to all the authors in selected category [closed]
- How to make WordPress forms secure (HTTPS)
- Can you have more than one nonce on a page?
- Password protected page with a form submits for me fine but for others redirects them back to the password prompt
- How dynamically change wp_mail behaviour, sending html or plain text based on conditions?
- Remove field in the form : only works for “url”, not for “email”?
- How to add required fields in user profile admin page?
- Problem in getting Value through POST method after Login
- Java code/ JSP page in wordpress
- how to add a custom form in a page
- Form Submission Warning: Cannot modify header error only when plugin is deactivated
- Create a registration form with a PayPal checkout fee? [closed]
- comment form name and email not working?
- Sort populated GravityForms list alphabetically [closed]
- Checkboxes in a wordpress form are not showing as checked when selected [closed]
- Radio&Checkbox buttons Contact form 7 not clickable
- Complex Timesheet Form
- How to add a placeholder to the protected post password input
- How to change a form end email?
- Storing The Data Collected by Ninja Forms into Another (custom) Database [closed]
- Saved emails at dashboard
- Fatal error: Call to undefined function wp_insert_post()
- Simple form validation for custom post type in front end. Not working
- WordPress Frontend Post Form (Bootstrap Modal) Not Creating Post
- Inquiry form like on URL [closed]
- Update user meta on custom wordpress form and redirect
- Headers already sent on a frontend post form using wp_redirect before get_header
- Contact form with Jquery and PHP don’t work
- Email from my theme’s contact form doesn’t get the reply-to address right
- Can I have two submit buttons in one form? [closed]
- how do i make the “contact us” on a page created not to display
- wordpress forms submit
- Email form getting hacked
- sending form with time interval
- How to redirect a Link to a new tab in contact form 7?
- how do I hide or encrypt query strings for gravity forms
- Why is my contact form not working?
- Save and retrive data from a custom form to database
- Pricing depending on selected items in a multi step form
- WPAdverts – How to limit form submission 10 per month
- Using an iframe for a form help
- Fatal Error with WP Forms
- How to call or add password input / generate password / password strenght meter in custom registration form?
- Need to show results on the frontend of an admin form
- Form data being sent to parent directory
- fetch custom post if meta key exist
- Passing form data on submit
- How to stopping auto scrolling after submitting the form?
- Preventing form resubmission on contact form plugin
- wp_nonce for Front-End submission form not working
- How to handle dynamic form data with repeating fields?
- Pay before posting (frontend insert post)
- How to send form values from the script in functions.php and not from the form on my website?
- Issue with contact form 7
- Adding a “Report the post” button/form?
- Advanced searching form
- Cannot access a file in the theme (twentynineteen-child) folder
- wordpress not saving form code in code editor
- Create register form plus send post
- Dropdown List Won’t Display Selected Option After Submit / Refresh
- Submit button returns to index page instead of sending data
- Order form for WP (similar to a wishlist) [closed]
- How to manage to submit WPForms at our webpage
- Adding default quicktags to textarea
- Forms lead to “Page not found” in Ultimate Member plugin
- How can I get lost form data back? [closed]
- Forminator + Hubspot Workflows
- Implementing Autosave Functionality for Long, Multi-page Forms in WordPress