I have taken several Server.On and am trying to consolidate them for improved visibility. (See code below the line). There are several cases of params==1, a case of params=3.
In the params==1 case, the ERASE function works fine. but other functions under the USER CONFIG section do not. It appears as though the enter Server.On is not being called as the first Serial.print statements at the top do no execute.
Possibly this is a pointer problem after the POST is retrieved?
Another possibility is that once the test for ERASE fails, the Server.On terminates??????
This all worked before I started my consolidation, so this is a self inflicted injury!
I realize this is an odd case.
https://pastebin.com/SaVLjzTC <– never tried this before. hope it works
Thanks for any assistance.
Solved
Found the issue. Needed the URL of the page: server.on(“/userconfig”
rather than just server.on(“/”
The nesting works fine now!