Issue:Set Pending
Description:

Set all Add Forms to Pending when submitted.
add_filter('frm_get_default_value', 'my_custom_default_value', 10, 2);
function my_custom_default_value($new_value, $field){
if($field->id == 25){ //change 25 to the ID of the field
$new_value = $_SERVER['REQUEST_URI']; //stores the value of the URL
}
return $new_value;
}

URP Path:https://formidablepro.com/knowledgebase/frm_get_default_value/
Status: Closed
Submitted by: Paul
Submitted on: 10/14/2014 at 18:44:17
Edit Entry
Delete Entry