Well, glad I could be an example of what not to do. From your statements I'm wondering if it could be a browser issue. I'm using Firefox currently.
Just tested on Chrome, and confirmed that the forms behave as normal.
Confirmed on Firefox that I can reproduce the behavior under Administration > Taxes and trying to update a tax code there.
[Wed Oct 25 17:33:51.673564 2023] [fcgid:warn] [pid 22838] [client 10.0.10.26:41414] mod_fcgid: stderr: PHP Notice: Undefined index: HTTP_REFERER in /home/example/domains/itflow.internal.example.com/public_html/post/tax.php on line 36
And for posterity where I originally noticed it on Quotes:
[Wed Oct 25 17:35:14.032424 2023] [fcgid:warn] [pid 10669] [client 10.0.10.26:60014] mod_fcgid: stderr: PHP Notice: Undefined variable: client_is_lead in /home/example/domains/itflow.internal.example.com/public_html/client_edit_modal.php on line 112
[Wed Oct 25 17:35:16.082221 2023] [fcgid:warn] [pid 22837] [client 10.0.10.26:60016] mod_fcgid: stderr: PHP Notice: Undefined variable: client_is_lead in /home/example/domains/itflow.internal.example.com/public_html/client_edit_modal.php on line 112
[Wed Oct 25 17:35:24.759474 2023] [fcgid:warn] [pid 22838] [client 10.0.10.26:54194] mod_fcgid: stderr: PHP Notice: Undefined variable: json_products in /home/example/domains/itflow.internal.example.com/public_html/quote.php on line 534
[Wed Oct 25 17:35:39.031338 2023] [fcgid:warn] [pid 22834] [client 10.0.10.26:41402] mod_fcgid: stderr: PHP Notice: Undefined index: date in /home/example/domains/itflow.internal.example.com/public_html/post/quote_model.php on line 2
[Wed Oct 25 17:35:39.031353 2023] [fcgid:warn] [pid 22834] [client 10.0.10.26:41402] mod_fcgid: stderr: PHP Notice: Undefined index: expire in /home/example/domains/itflow.internal.example.com/public_html/post/quote_model.php on line 3
[Wed Oct 25 17:35:39.031356 2023] [fcgid:warn] [pid 22834] [client 10.0.10.26:41402] mod_fcgid: stderr: PHP Notice: Undefined index: category in /home/example/domains/itflow.internal.example.com/public_html/post/quote_model.php on line 4
[Wed Oct 25 17:35:39.031359 2023] [fcgid:warn] [pid 22834] [client 10.0.10.26:41402] mod_fcgid: stderr: PHP Notice: Undefined index: scope in /home/example/domains/itflow.internal.example.com/public_html/post/quote_model.php on line 5
[Wed Oct 25 17:35:39.031370 2023] [fcgid:warn] [pid 22834] [client 10.0.10.26:41402] mod_fcgid: stderr: PHP Notice: Undefined index: quote_discount in /home/example/domains/itflow.internal.example.com/public_html/post/quote_model.php on line 6
[Wed Oct 25 17:35:39.031373 2023] [fcgid:warn] [pid 22834] [client 10.0.10.26:41402] mod_fcgid: stderr: PHP Notice: Undefined index: HTTP_REFERER in /home/example/domains/itflow.internal.example.com/public_html/post/quote.php on line 192
So something about the redirect or submission to post.php Firefox just doesn't like I think. As Chrome works fine!
A quick google reveals this might be "working as intended" for firefox.
https://blog.mozilla.org/security/2021/03/22/firefox-87-trims-http-referrers-by-default-to-protect-user-privacy/
Following this article and setting network.http.sendRefererHeader to 1 allows the pages to function as intended.
https://www.technipages.com/firefox-enable-disable-referrer/
So not sure if that means that a different method of finding the referrer URL should be defined such as cookie or session storage?