Create 2 categories (Uncategorized and appointment)
Create 2 or 3 custom fields of type mail and assign to Appointment category
Create 2 contacts 1 per category (general and appointment)
Create 2 menu elements of type Single Contact and select different contac in each element
When visit menu item for appointment load contact form with custom fields
When visit menu item for general contact load contact form without custom fields.
If you first visit appointment menu item it load form with custom fields, then visit General contact menu item and it also load form with custom fields
If you firts visit General contact Menu item ir load form without custom field, then visit Appointment menu and it also load form without custom fields.
Joomla 4.0.6 Core, PHP 7.4.x, PHP 8, MySQL 5.7.23, Apache 2.4.46
In short, when you visit the second form, the form you visited on the previous page is loaded. Only when you refresh the correct form is loaded. This behavior is not correct.
Labels |
Added:
No Code Attached Yet
|
Title |
|
Very weird but I can confirm
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-02-12 11:52:45 |
Closed_By | ⇒ | joomdonation |
See issue in action
https://user-images.githubusercontent.com/5317182/152924219-316325af-cd8c-45f7-98d0-d084a9c1820b.mp4