Commit 50d359df authored by Eric Windham's avatar Eric Windham

added personally identifiable to fname and lname fields

parent a8475168
......@@ -25,6 +25,7 @@ class NF_Fields_FirstName extends NF_Abstracts_UserInfo
$this->_nicename = __( 'First Name', 'ninja-forms' );
$this->_settings[ 'custom_name_attribute' ][ 'value' ] = 'fname';
$this->_settings[ 'personally_identifiable' ][ 'value' ] = '1';
}
public function filter_default_value( $default_value, $field_class, $settings )
......
......@@ -25,6 +25,7 @@ class NF_Fields_LastName extends NF_Abstracts_UserInfo
$this->_nicename = __( 'Last Name', 'ninja-forms' );
$this->_settings[ 'custom_name_attribute' ][ 'value' ] = 'lname';
$this->_settings[ 'personally_identifiable' ][ 'value' ] = '1';
}
public function filter_default_value( $default_value, $field_class, $settings )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment