onOffice-Web-Org / oo-wp-plugin

onOffice for WP-Websites
https://wp-plugin.onoffice.com
GNU General Public License v3.0
9 stars 9 forks source link

Default value for “message” #488

Closed dai-eastgate closed 1 year ago

dai-eastgate commented 1 year ago

Discussed in https://github.com/onOffice-Web-Org/oo-wp-plugin/discussions/481

### Current state If the default value is filled in, the success message appears after sending the form, but no e-mail is received and no address is created. It is particularly bad if the request for more information on a property is not received. The bug seems to occurred first with plugin version 4.9. Plugin Versions 4.6 - 4.8. seem to work fine. ### Desired state Investigate if the bug only occurs with the “message” field or if there is a problem with more fields. Currently I saw that the “message” field has this bug in the normal contact form as well as the contact form on property detail pages. The e-mail must be received and an address created (if the box is checked in the WP Backend) even if there's a default value for the “message” field and/or other fields. ![default_value_message](https://user-images.githubusercontent.com/88546396/229791678-5652d5f1-4c2f-4adb-a171-3d6b3500455a.jpg)
dai-eastgate commented 1 year ago

@fredericalpers I fixed this bug, you can watch the video below and give me feedback

https://files.fm/u/patufyqy7

fredericalpers commented 1 year ago

@dai-eastgate Seems good to me! Did you also receive the e-mails? If yes, please confirm. :)

dai-eastgate commented 1 year ago

@fredericalpers Yes, even the send mail function works fine.

dai-eastgate commented 1 year ago

Merged at this pull request https://github.com/onOffice-Web-Org/oo-wp-plugin/pull/489