Reply To: Assign membership level based on a condition (zipcode)?
› Forums › General › Assign membership level based on a condition (zipcode)? › Reply To: Assign membership level based on a condition (zipcode)?
2015-12-17 at 16:19
#530
Keymaster
I think you can do it with a bit of PHP in the page with the form, so it changes the form’s shortcode dynamically to the other level based on your ZIP code conditions.
The PHP code should be able to pick up the ZIP code you stored in the user’s profile with the Gravity form. I’m not familiar with how it saves profile fields.
Will create that field with s2Member? WP Admin -> s2Member -> General -> Registration/Profile Fields & Options
Tell me how you’re saving the ZIP code in the profile, and I’ll try giving you an example shortcode to change the level dynamically.