No Code Attached Yet
avatar leoalv
leoalv
8 Feb 2022

Steps to reproduce the issue

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

Expected result

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.

Actual result

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.

System information (as much as possible)

Joomla 4.0.6 Core, PHP 7.4.x, PHP 8, MySQL 5.7.23, Apache 2.4.46

Additional comments

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.

avatar leoalv leoalv - open - 8 Feb 2022
avatar joomla-cms-bot joomla-cms-bot - change - 8 Feb 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 8 Feb 2022
avatar leoalv leoalv - change - 8 Feb 2022
Title
[4.0.6] Joomla Contact form Load Previous Form Loaded
[4.0.6] Joomla Contact form Load Previous Form Visited
avatar leoalv leoalv - edited - 8 Feb 2022
avatar brianteeman
brianteeman - comment - 8 Feb 2022

Very weird but I can confirm

avatar joomdonation joomdonation - change - 12 Feb 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-02-12 11:52:45
Closed_By joomdonation
avatar joomdonation joomdonation - close - 12 Feb 2022
avatar joomdonation
joomdonation - comment - 12 Feb 2022

@leoalv Could you please test PR #35763 ? It should address this issue.

Add a Comment

Login with GitHub to post a comment