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.
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.
You have to come up with your own algorithm to generate the password. Are there any password rules with the 3rd party site?
Posted 7 years ago on Wednesday July 25, 2012 | Permalink