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

Restriction of the form selection on the detail page in the onOffice for WP-Websites plugin #890

Open fredericalpers opened 2 months ago

fredericalpers commented 2 months ago

Restriction of the form selection on the detail page in the onOffice for WP-Websites plugin

User Story

Currently, the onOffice for WP-Websites plugin allows the selection of forms of different types, such as “contact”, “owner”, “interest” or “applicantsearch” in the settings for the detail page. This means that unsuitable forms can also be selected for detail pages. To ensure that only suitable contact forms are used in this context, the selection option should be restricted to forms of the type “contact”.

This change should ensure that only useful forms can be used in the detail pages, which improves the user-friendliness and consistency of the website.

Task / Requirements

dai-eastgate commented 2 months ago

@fredericalpers I would like to confirm some points with you: For the list of forms with the type "contact," which attribute will they be ordered by? For example, will it be the form creation date or something else? Also, what is the order direction of the contact form list? Is it in ascending or descending order?

=> So I can determine what the first form of type “contact” is?

fredericalpers commented 2 months ago

@fredericalpers I would like to confirm some points with you: For the list of forms with the type "contact," which attribute will they be ordered by? For example, will it be the form creation date or something else? Also, what is the order direction of the contact form list? Is it in ascending or descending order?

=> So I can determine what the first form of type “contact” is?

Please go ahead and order it by creation date descending so the most new form will be selected automatically.

dai-eastgate commented 2 months ago

@fredericalpers I have implemented it. This is video demo

https://github.com/user-attachments/assets/19e45dd0-0739-40c8-b48b-f53b9d4c7a16

Please check and let me know your opinion. Thanks!

fredericalpers commented 2 months ago

@dai-eastgate thank you! We will review this as soon as possible