Hi. I have a Gravity Forms Form and Notification that needs some coding help.
I need to add attribute tags and affiliate tags.
Here's a link to the form: [login to view URL]
The dropdowns at the bottom will be conditional logic, i'm just troubleshooting for now, so i removed the conditional options. I wanted those dropdown's values to be created dynamically- just 1 part of the value. The dropdowns are links to products, but we have to add in the query string for the affiliate id (username) and that's it. all the other info can be populated by hand. This was my idea, but it didn't go so well:
[login to view URL]{user:user_login}/?attribute_pa_depth=9
Let me break it down:
[login to view URL]
This is just the base product. Nothing dynamic here.
p/{user:user_login}/?
This should be the username of the logged in user. This form is filled out by affiliates, so they already have a username that they're logged in with
attribute_pa_depth=9
This is an attribute tag I added onto the end. It is product specific and dependent upon the base product from above.
So when a user selects a dropdown for a product, i need this link to be configured in this format:
[login to view URL]{user:user_login}/?attribute_pa_depth=9
{user:user_login} needs to be replaced with something that works. I don't want to hack my template or wordpress either. All work should be done on your server and then given to me via GravityForms import export feature.
I exported and uploaded what I have so far. I need the form finished off and a regular plain text notification email to be created with a link to the customer.