fix option select custom field

This commit is contained in:
iBNu Maksum
2024-11-19 18:18:51 +07:00
parent eb970b257a
commit c9778e71b9
3 changed files with 8 additions and 4 deletions

View File

@ -23,7 +23,7 @@ switch ($action) {
if(!empty($_POST['name'][$n])){
$datas[] = [
'order' => $_POST['order'][$n],
'name' => $_POST['name'][$n],
'name' => Text::alphanumeric(strtolower(str_replace(" ", "_", $_POST['name'][$n])), "_"),
'type' => $_POST['type'][$n],
'placeholder' => $_POST['placeholder'][$n],
'value' => $_POST['value'][$n],

View File

@ -911,5 +911,9 @@
"Don_t_have_an_account_": "Don't have an account?",
"You_do_not_have_permission_to_access_this_page_in_demo_mode": "You do not have permission to access this page in demo mode",
"Custom_Fields": "Custom Fields",
"New_Field": "New Field"
"New_Field": "New Field",
"Data_Change": "Data Change",
"Photo": "Photo",
"Home_Address": "Home Address",
"Email_Address": "Email Address"
}