Title: Can&#039;t save &quot;required&quot; fields
Last modified: August 21, 2016

---

# Can't save "required" fields

 *  Resolved [LSH8](https://wordpress.org/support/users/lsh8/)
 * (@lsh8)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/cant-save-required-fields/)
 * Hello,
    When ever I click the boxes to make a field “Required” then click save,
   the boxes do not remain checked. So, I can’t make any fields “Required.” Please
   advise. Thanks,
 * [http://wordpress.org/extend/plugins/pie-register/](http://wordpress.org/extend/plugins/pie-register/)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Contributor [genetech](https://wordpress.org/support/users/genetech/)
 * (@genetech)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/cant-save-required-fields/#post-3938968)
 * Please confirm the Plugin version, you have installed?
 *  [neeraj sharma](https://wordpress.org/support/users/kirtisharma/)
 * (@kirtisharma)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/cant-save-required-fields/#post-3939020)
 * Hi LSH8,
 * Just open the plugin file named as pie-register.php
 * find the following line :
 * $update[“profile_req”] = $this->disable_magic_quotes_gpc($_POST[‘piereg_profile_req’]);
 * now replace it with following line:
    $update[“profile_req”] = $_POST[‘piereg_profile_req’];
 * It will work 🙂
    If you required any help ping me on skype : support.sotruesolutions
 * Thanks
 *  Thread Starter [LSH8](https://wordpress.org/support/users/lsh8/)
 * (@lsh8)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/cant-save-required-fields/#post-3939034)
 * Hello,
    I went into the plugins, hit update and edited the file as you described.
   When I clicked save it told me that a fatal error had occurred and it deactivated
   the plugin. After I changed it back, it saved successfully and reactivated the
   plugin. Please advise. Also, the version is 1.31. Thanks, Leslie
 *  [neeraj sharma](https://wordpress.org/support/users/kirtisharma/)
 * (@kirtisharma)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/cant-save-required-fields/#post-3939044)
 * Hi,
 * Could you please add me on skype : support.sotruesolutions
 * and provide me the file so that i will make the changes and check the file.
 * Fatal error will come only when we forgot to add the ; at the end of statement.
 * Regards
 *  Thread Starter [LSH8](https://wordpress.org/support/users/lsh8/)
 * (@lsh8)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/cant-save-required-fields/#post-3939102)
 * I will paste below, because I can never find you on Skype:
 * _[Moderator removed a huge file – that’s way too much code to post here – please
   use a pastebin per the forum guidelines – [http://codex.wordpress.org/Forum\_Welcome#Posting\_Code](http://codex.wordpress.org/Forum_Welcome#Posting_Code)]_
 *  Thread Starter [LSH8](https://wordpress.org/support/users/lsh8/)
 * (@lsh8)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/cant-save-required-fields/#post-3939103)
 * I also uploaded the file to your Skype account, in case that makes it easier.
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/cant-save-required-fields/#post-3939104)
 * **[@kirti](https://wordpress.org/support/users/kirti/).sharma** – please keep
   help on these forums – that way everyone in the community benefits. Also see:
 * [http://codex.wordpress.org/Forum_Welcome#Helping_Out](http://codex.wordpress.org/Forum_Welcome#Helping_Out)
 *  Thread Starter [LSH8](https://wordpress.org/support/users/lsh8/)
 * (@lsh8)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/cant-save-required-fields/#post-3939105)
 * Here is the paste bin url:
    [http://pastebin.com/53S9Sw9K](http://pastebin.com/53S9Sw9K)
 *  Plugin Contributor [genetech](https://wordpress.org/support/users/genetech/)
 * (@genetech)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/cant-save-required-fields/#post-3939120)
 * Hi [@lsh8](https://wordpress.org/support/users/lsh8/),
 * Here is the patched file [http://pastebin.com/4DETapMN](http://pastebin.com/4DETapMN)
 * I hope it helps.
 * Thanks
 *  [rickky](https://wordpress.org/support/users/rickky/)
 * (@rickky)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/cant-save-required-fields/#post-3939171)
 * what the short code to used that plugin on pages?

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Can't save "required" fields’ is closed to new replies.

 * ![](https://ps.w.org/pie-register/assets/icon-256x256.png?rev=2467686)
 * [Pie Register – User Registration, Profiles & Content Restriction](https://wordpress.org/plugins/pie-register/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pie-register/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pie-register/)
 * [Active Topics](https://wordpress.org/support/plugin/pie-register/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pie-register/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pie-register/reviews/)

 * 10 replies
 * 5 participants
 * Last reply from: [rickky](https://wordpress.org/support/users/rickky/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/cant-save-required-fields/#post-3939171)
 * Status: resolved