Replies: 0
Hi, this plugin is great but I am having trouble with one small thing I need to do.
Basically when a user edits a form I want to reset a select field to it’s default option.
For example, in my form I have a drop down select with the param name of ‘apstat’. If the persons form has ‘apstat’ with a value of ‘approved’ and they use Sticky List to edit their entry I want the field ‘apstat’ to reset to it’s default value of ‘pending’.
I tried using two methods, one by adding the dynamic population query string to the URL but that doesn’t work as the link is triggered from a form and the otehr I tried was:
add_filter('gform_field_value_apstat', 'reset_apstat');
function reset_apstat($value){
return 'pending';
}
Any help would be appreciated, happy to kick in a Paypal donation for solution or if you offer the Pro version I’m happy to prepay because I love this plugin 🙂