Title: Error: All fields are required
Last modified: August 21, 2016

---

# Error: All fields are required

 *  [Jason](https://wordpress.org/support/users/jasoncamp/)
 * (@jasoncamp)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-all-fields-are-required/)
 * Hey there,
 * Trying to get this plugin working on a site which is using Better WP Security
   to ‘hide’ the backend – basically it creates rewrite rules that add a secret 
   key to make wp-login.php accessible.
 * In other words, hitting /wp-login.php returns an error, while /wp-login.php?secretkeyhere(
   or an alias – /log-in) allows a user to log in.
 * When using wp_login_url() or wp_loginout(), the modal login returns the message“
   Error: All fields are required.”
 * I’ve tried building the key into the login in a number of ways – and would obviously
   prefer to not edit the plugin itself – but am having no luck. Ideally this same
   key could be added for registration.
 * Any ideas or suggestions would be greatly appreciated.
 * [http://wordpress.org/plugins/simplemodal-contact-form-smcf/](http://wordpress.org/plugins/simplemodal-contact-form-smcf/)

The topic ‘Error: All fields are required’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simplemodal-contact-form-smcf.svg)
 * [SimpleModal Contact Form (SMCF)](https://wordpress.org/plugins/simplemodal-contact-form-smcf/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simplemodal-contact-form-smcf/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simplemodal-contact-form-smcf/)
 * [Active Topics](https://wordpress.org/support/plugin/simplemodal-contact-form-smcf/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simplemodal-contact-form-smcf/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simplemodal-contact-form-smcf/reviews/)

## Tags

 * [secret key](https://wordpress.org/support/topic-tag/secret-key/)

 * 0 replies
 * 1 participant
 * Last reply from: [Jason](https://wordpress.org/support/users/jasoncamp/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/error-all-fields-are-required/)
 * Status: not resolved