diff --git a/code/UserDefinedForm.php b/code/UserDefinedForm.php index 06f26e5..16738c2 100755 --- a/code/UserDefinedForm.php +++ b/code/UserDefinedForm.php @@ -405,6 +405,11 @@ class UserDefinedForm_Controller extends Page_Controller { } } + // set the values passed by the url to the field + $request = $this->getRequest(); + $value = $request->getVar( $field->name ); + if( isset( $value ) ) $field->value = $value; + $fields->push($field); } }