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!
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!
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
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
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!
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
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!
@jeckb4hyde - I'm interested in this too. Can you share your code?