Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple contact types in form-specific options #751

Closed
2 tasks done
fredericalpers opened this issue Feb 20, 2024 · 3 comments · Fixed by #770
Closed
2 tasks done

Multiple contact types in form-specific options #751

fredericalpers opened this issue Feb 20, 2024 · 3 comments · Fixed by #770
Assignees
Labels
component: contact form Issue, Pull Request or Discussion related to contact forms component: interest form Issue, Pull Request or Discussion related to interest forms component: owner form Issue, Pull Request or Discussion related to owner forms QA Issue or Pull request that is in review UI/UX Issue, Pull Request or Discussion related to UI/UX
Milestone

Comments

@fredericalpers
Copy link
Member

fredericalpers commented Feb 20, 2024

Initiative

Improve the usability of the onOffice for WP-Websites Plugin

Epic

Change the type of contact address field from single to multiselect

User story

As a real estate agent utilizing the onOffice plugin, I find the current single-select option for defining the contact types in form-specific settings limiting. In onOffice enterprise, this functionality is designed as a multi-select field, allowing for the selection of multiple contact types. To align the plugin's capabilities with onOffice enterprise and enhance flexibility, I propose transforming the contact type selection into a multi-select field integrated with Select2.

The existing form-specific options in the onOffice plugin allow for the definition of the contact type associated with the created address. However, the current implementation restricts users to a single contact type. Recognizing the need for more versatility, I propose the change to a multi-select field.

Tasks

  • Identify and modfiy the code related to form-specific options to enable multi-select functionality
  • Integrate the Select2 library and ensure its proper functionality

By implementing these changes, real estate agents using the onOffice plugin will have a more robust and flexible system for defining contact types in their forms.

@fredericalpers fredericalpers added this to the v4.22 milestone Feb 20, 2024
@fredericalpers fredericalpers added UI/UX Issue, Pull Request or Discussion related to UI/UX component: contact form Issue, Pull Request or Discussion related to contact forms component: interest form Issue, Pull Request or Discussion related to interest forms component: owner form Issue, Pull Request or Discussion related to owner forms labels Feb 20, 2024
@dai-eastgate
Copy link
Contributor

@fredericalpers I have found a solution for this task, and I need 4 days to implement it. Thanks!

@dai-eastgate
Copy link
Contributor

@fredericalpers I have implemented it and this is video

@fredericalpers fredericalpers linked a pull request Mar 12, 2024 that will close this issue
@fredericalpers fredericalpers added the QA Issue or Pull request that is in review label Mar 12, 2024
@fredericalpers
Copy link
Member Author

@fredericalpers I have implemented it and this is video

looks good to me! and seems to be working as intended,thank you :)

@dai-eastgate dai-eastgate self-assigned this Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: contact form Issue, Pull Request or Discussion related to contact forms component: interest form Issue, Pull Request or Discussion related to interest forms component: owner form Issue, Pull Request or Discussion related to owner forms QA Issue or Pull request that is in review UI/UX Issue, Pull Request or Discussion related to UI/UX
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants