PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Enter Password to Download

  1. I would love to know if you can have a text field where you can enter a pre-determined code (i.e. SKY123 or SKY321 or SKY222) and once you hit submit you will then get taken to a page to download a promotional mp3?

    Thanks for you help!

    Posted 13 years ago on Tuesday April 12, 2011 | Permalink
  2. This isn't a built in feature but it can be done as a customization. You could use the gform_validation hook to write custom code to validate the pre-determined code and only allow the form to be submitted with a valid code.

    Documentation for this hook can be found here:

    http://www.gravityhelp.com/documentation/page/Gform_validation

    Posted 13 years ago on Wednesday April 13, 2011 | Permalink
  3. Carl,
    Thank you for your help on this. That is pretty much what I figured I was going to have to do with the validation.

    Thanks again!

    --
    Ryan

    Posted 13 years ago on Wednesday April 13, 2011 | Permalink
  4. Wow, I just can not get this to work correctly. I am have an issue with the validation. Is there anyone I can ask for help or someone you can recommend to help with this?

    Thanks!

    Posted 13 years ago on Friday April 15, 2011 | Permalink
  5. Have you looked at the in depth tutorial on how to use the gform_validation hook? If not it is located here:

    http://www.gravityhelp.com/documentation/page/Using_the_Gravity_Forms_%22gform_valiation%22_Hook

    Posted 13 years ago on Friday April 15, 2011 | Permalink
  6. I actually got it to work, finally! It was more the function part at the end that didn't make sense, but finally came around.

    Thanks again!

    Posted 13 years ago on Friday April 15, 2011 | Permalink
  7. @jeckb4hyde - I'm interested in this too. Can you share your code?

    Posted 13 years ago on Monday April 18, 2011 | Permalink