<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Generate Password from Hidden Field</title>
		<link>https://legacy.forums.gravityhelp.com/topic/generate-password-from-hidden-field</link>
		<description>Gravity Support Forums Topic: Generate Password from Hidden Field</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 03:02:57 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/generate-password-from-hidden-field" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Generate Password from Hidden Field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/generate-password-from-hidden-field#post-67794</link>
			<pubDate>Tue, 24 Jul 2012 20:38:09 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">67794@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;OK.  You can use the gform_pre_render to generate a password ahead of time, before the form is rendered and displayed to the user.  It will be visible in the source of the page if you use a hidden field.  Is that a problem?  If not a problem, that's what I would do.&#60;/p&#62;
&#60;p&#62;If you do not want to have the password in the form when it's displayed to the user, you can use the gform_pre_submission filter and do the same thing.  It just happens after validation, but before the entry is stored.  You can create the password at that point and then store it with the entry.  It is available for notifications in that way.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_submission&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_pre_submission&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You have to come up with your own algorithm to generate the password.  Are there any password rules with the 3rd party site?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>coisty1856 on "Generate Password from Hidden Field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/generate-password-from-hidden-field#post-67775</link>
			<pubDate>Tue, 24 Jul 2012 16:51:29 +0000</pubDate>
			<dc:creator>coisty1856</dc:creator>
			<guid isPermaLink="false">67775@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks @Chris. Using the user registration won't work because the password is needed for use on a third-party site. Once the random password is generated, I need for the information to be sent to an administrator and the user so they can use it on the third-party site.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Generate Password from Hidden Field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/generate-password-from-hidden-field#post-67770</link>
			<pubDate>Tue, 24 Jul 2012 16:31:13 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">67770@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You could use the gform_pre_render filter to generate it before the form is shown to the visitor, then just store it with the entry.  You can do whatever you want to with it at that point.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_render&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_pre_render&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Generate Password from Hidden Field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/generate-password-from-hidden-field#post-67768</link>
			<pubDate>Tue, 24 Jul 2012 16:30:17 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">67768@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sounds like user registration.  Can you use the user registration plugin and rely on WordPress to generate your random password for you?&#60;/p&#62;
&#60;p&#62;If not, you will need some function in your theme's functions.php to generate a random string.  What do you need to do with the password once it's generated?  Send it in the notification?  Just store it in the entry?  What will the password be used for?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>coisty1856 on "Generate Password from Hidden Field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/generate-password-from-hidden-field#post-67764</link>
			<pubDate>Tue, 24 Jul 2012 16:14:53 +0000</pubDate>
			<dc:creator>coisty1856</dc:creator>
			<guid isPermaLink="false">67764@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;Can anybody point me in the right direction to implement using a hidden field to generate a random password when a user submits a form?&#60;/p&#62;
&#60;p&#62;For example, I'd like for the user to submit their name and email address and then have a random password generated that is tied to their email address after they submit the form. &#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
