Files
2024_WEBSITE_fipf/ç
2024-04-24 11:17:35 +02:00

29 lines
2.2 KiB
Plaintext

## list of errors in divi form builder
1. [-] editing a post only work with the post title in the edit form (it can be an hidden field)
2. [-] edit post form dont remember a choice if the acf field has a value of 0 : `0 : label`
3. [-] multistep form effects and height calculation
4. [-] file upload icon on firefox
5. [ ] acf date not initialized is array, but dfb dont check it, which creates a php-notice array to string conversion -> `wordpress_docker/volumes/wp_volume/wp-content/plugins/divi-form-builder/includes/modules/FormField/FormField.php`
6. [ ] acf date don't output well and consistently, because acf will try to format it
7. [ ] acf date is not saved in acf format in the database
8. [ ] it's not a front error, but it made things really complicated to not have a filter of the `post_array` before saving it to the database : we can only filter the array with the wp hook `update_post_metadata`, but it does not have all the informations we need from the `post_array`
---
1. when chossing a date in formbuilder, if the date format is not in format yymmdd (or Ymd in acf convention) it will not work
2. divi form builder, contact form, prof delete account, delete user, email confirmation, logged in user -> not working
3. when creating an hidden input email mapped with the email of the user, it deleted the email of the user
4. form email confirmation only sent if email notification are enabled
6. when choosing edit for author and admin only, admin can edit the post, but it changes its author
7. calculation total disapear when validating
8. in form, when chosing a conditional logic to output an element based on the value of another field, it does not work if this other field is automatically detecting fields from mapped value
- 434 : ../../../../wordpress_docker/volumes/wp_volume/wp-content/plugins/divi-form-builder/includes/DiviFormBuilder.php
- those lines :
```
if ( !isset( $post_array['meta_input'][$meta_input_rname] ) ) {
$post_array['meta_input'][$meta_input_rname] = array();
}t
```
- they keep the field in the array that will be used to create the new post, but with an empty value : it empty the acf field at post creation. Instead, just don't keep the value ! -> it will not be in the new post, without emptying the acf field