# Transmitting data when using Password fields

**URL:** <https://community.gravityforms.com/t/transmitting-data-when-using-password-fields/4594>\
**Category:** Get Help\
**Tags:** zapier, password, mysql, read-only, gravity-wiz\
**Created:** [April 25, 2020, 8:42am UTC](https://community.gravityforms.com/t/transmitting-data-when-using-password-fields/4594 "2020-04-25T08:42:43Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![user5aa3fef982d159.2](https://avatars.discourse-cdn.com/v4/letter/u/3bc359/32.png) [@user5aa3fef982d159.2](https://community.gravityforms.com/u/user5aa3fef982d159.2)\
**Post date:** [April 25, 2020, 8:42am UTC](https://community.gravityforms.com/t/transmitting-data-when-using-password-fields/4594/1 "2020-04-25T08:42:43Z")

</div>

Hi there,  
I tried to use a form with a password field and connect it with Zapier. Zapier or the other app needs the data the user filled in the Password field in my form. But it seems neither the data that was filled in the password field is trasnamitted to zapier nor its included in my form message I receive when a gravity form(without zapier connected) is submitted.  
Is it possible to send password data with a form as well?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [April 25, 2020, 2:36pm UTC](https://community.gravityforms.com/t/transmitting-data-when-using-password-fields/4594/2 "2020-04-25T14:36:19Z")

</div>

Gravity Forms does not save or transmit password data, so I don’t believe it will be possible to send a password from Gravity Forms to Zapier.

---

<div class="post-metadata">

**Author:** ![user5aa3fef982d159.2](https://avatars.discourse-cdn.com/v4/letter/u/3bc359/32.png) [@user5aa3fef982d159.2](https://community.gravityforms.com/u/user5aa3fef982d159.2)\
**Post date:** [April 25, 2020, 3:05pm UTC](https://community.gravityforms.com/t/transmitting-data-when-using-password-fields/4594/3 "2020-04-25T15:05:20Z")

</div>

oh, so the only usecase of the password field would be to make a wordpress user?

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [April 25, 2020, 5:54pm UTC](https://community.gravityforms.com/t/transmitting-data-when-using-password-fields/4594/4 "2020-04-25T17:54:02Z")

</div>

That’s correct.

---

<div class="post-metadata">

**Author:** ![user60b7a39054060018](https://avatars.discourse-cdn.com/v4/letter/u/df705f/32.png) [@user60b7a39054060018](https://community.gravityforms.com/u/user60b7a39054060018)\
**Post date:** [June 22, 2021, 4:15pm UTC](https://community.gravityforms.com/t/transmitting-data-when-using-password-fields/4594/5 "2021-06-22T16:15:02Z")

</div>

Hello,  
Even I am trying to use the password field in the advanced field tab but as said I am unable to save or see the data from the password field in export. I am trying to create an automatic password reset form for my organization’s email box.  
If I won’t be able to use this password field in the advance tab can you suggest to me some other options to achieve my goal to take the new password from the user and update it in my database?

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [June 28, 2021, 2:10am UTC](https://community.gravityforms.com/t/transmitting-data-when-using-password-fields/4594/6 "2021-06-28T02:10:48Z")

</div>

Hi Nidhi. Gravity Forms won’t store any data collected with the Password field. If you want to store a password, you can use a single line text field, and enable the setting “Enable Password Input” on the Advanced tab. That will mask the input but you will have access to whatever is entered into that field. Let us know if you have any other questions.

---

<div class="post-metadata">

**Author:** ![user60b7a39054060018](https://avatars.discourse-cdn.com/v4/letter/u/df705f/32.png) [@user60b7a39054060018](https://community.gravityforms.com/u/user60b7a39054060018)\
**Post date:** [June 28, 2021, 3:39pm UTC](https://community.gravityforms.com/t/transmitting-data-when-using-password-fields/4594/7 "2021-06-28T15:39:24Z")

</div>

Hello,  
Yes I have already tried that . But in that I cannot use toggle to hide what the user has entered so mistakenly if a user enters something that he don’t want as password he wont be able to recover his password as the entered value is masked.  
Secondly, I cannot restrict the input in such kind of field. I cannot show the strength of password and many other password related properties will not be used if I convert single text to password.

Thank you

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [June 28, 2021, 5:24pm UTC](https://community.gravityforms.com/t/transmitting-data-when-using-password-fields/4594/8 "2021-06-28T17:24:29Z")

</div>

That is all true. I do not have any other workaround for you. We do not facilitate storing passwords in Gravity Forms, which is why the password field works the way it does (following WordPress best practices.) Any other use is most likely a security issue.

You may be able to customize something to grab the value from the password field before the entry is stored but we don’t have any information on how to accomplish that. Thank you.

---

<div class="post-metadata">

**Author:** ![user60b7a39054060018](https://avatars.discourse-cdn.com/v4/letter/u/df705f/32.png) [@user60b7a39054060018](https://community.gravityforms.com/u/user60b7a39054060018)\
**Post date:** [June 30, 2021, 3:26pm UTC](https://community.gravityforms.com/t/transmitting-data-when-using-password-fields/4594/9 "2021-06-30T15:26:27Z")

</div>

Ok.  
Thank you Chris.

I would like to know one more thing is there any way through which I can make a field non editable by the user on a form. Like are there any properties I need to tick off or something.

Best,  
Nidhi

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [June 30, 2021, 3:35pm UTC](https://community.gravityforms.com/t/transmitting-data-when-using-password-fields/4594/10 "2021-06-30T15:35:47Z")

</div>

Hi Nidhi. There are no property settings for the fields in the form editor. You can use this method to make the field value uneditable:

> **[Making a Field Read-only - Gravity Forms Documentation](https://docs.gravityforms.com/making-a-field-read-only/)**
>
> If you want to change a field to be read-only, you currently need to use JavaScript to do so. The following filter and function will help you accomplish this.

and

> **[How to Style Gravity Forms Read-Only Fields - Gravity Wiz](https://gravitywiz.com/how-to-style-gravity-forms-read-only-fields/)**
>
> An overview of how to style read-only and disabled fields with CSS, including how to target specific field types and different styling methods

Or, there is an add-on that will enable a setting for you:

> **[Gravity Forms Read Only - Gravity Wiz](https://gravitywiz.com/documentation/gravity-forms-read-only/)**
>
> Configure applicable form fields to be set to a read only state so that they are visible but not editable.

Let us know if you need anything else.

---

<div class="post-metadata">

**Author:** ![user60b7a39054060018](https://avatars.discourse-cdn.com/v4/letter/u/df705f/32.png) [@user60b7a39054060018](https://community.gravityforms.com/u/user60b7a39054060018)\
**Post date:** [June 30, 2021, 3:51pm UTC](https://community.gravityforms.com/t/transmitting-data-when-using-password-fields/4594/11 "2021-06-30T15:51:37Z")

</div>

Hello,  
Ok I will have look at these codes. Thank you so much.

---

<div class="post-metadata">

**Author:** ![user60b7a39054060018](https://avatars.discourse-cdn.com/v4/letter/u/df705f/32.png) [@user60b7a39054060018](https://community.gravityforms.com/u/user60b7a39054060018)\
**Post date:** [July 1, 2021, 7:31pm UTC](https://community.gravityforms.com/t/transmitting-data-when-using-password-fields/4594/12 "2021-07-01T19:31:06Z")

</div>

Hello Chris,  
Thank you for the read only solution that worked.

Do you have any idea how can I store the values from submitted form to an external MySQL database along with WP data base. Or can I write any query which will run whenever new entry is submitted by the form. i.e. can I monitor WP data base like any other and trigger a script whenever new entry added to that DB.

Thank you in advance.

Best

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [July 1, 2021, 9:33pm UTC](https://community.gravityforms.com/t/transmitting-data-when-using-password-fields/4594/13 "2021-07-01T21:33:57Z")

</div>

Hi Nidhi. Writing a trigger for the MySQL database would be up to you. There’s nothing different about the data Gravity Forms stores in the database from anything else.

If you want to store your data in another location after the form is submitted, each time, you can use the gform\_after\_submission hook:

> **[gform\_after\_submission - Gravity Forms Documentation](https://docs.gravityforms.com/gform_after_submission/)**
>
> This PHP action hook is executed at the end of the submission process (after form validation, notification, and entry creation). Use this hook to perform actions after the entry has been created (i.e. feed data to third party applications).

Or, you can use something like Zapier to do the same (with a Pro or Elite license and [our Zapier Add-On](https://www.gravityforms.com/add-ons/zapier/)): [https://zapier.com/apps/gravity-forms/integrations/mysql](https://zapier.com/apps/gravity-forms/integrations/mysql)

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [January 4, 2022, 5:45pm UTC](https://community.gravityforms.com/t/transmitting-data-when-using-password-fields/4594/14 "2022-01-04T17:45:48Z")

</div>


