Follow our Instagram!
Curious about what we're currently doing about bots? Check out the latest updates from staff in this thread.
Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
View the suggestions ordered by popularity here.

Invalid Don't Clear Format Builder After Failure

Status
Not open for further replies.

iforgetwhyimhere

i feel so microwave
is a Forum Moderator
When using the Format Builder function, sometimes you'll input rules, clauses, or other errors in the format. When generating the code, it will tell you the problem, but it also completely refreshes the UI.

As someone who frequently uses this UI to generate my challenge codes easier, it infuriates me that one simple error can erase a ton of progress. Some formats have 20-40 bans in the primary box, and not saving the items off-site and making an error results in it all having to be completely re-entered.

Can we maybe change that so the page only changes if the check is successful and a proper code can be generated? Otherwise it should just tell you the error you've made and not refresh/clear itself.
As it stands, this is unfortunately an intended interaction with how forms work on the server - they're intentionally meant to erase themselves per UX standards. Ideally, in the long term, we would render this page entirely on the client, but for the moment that's held up due to Preact. I'm going to close this thread since said replacement is out of scope for it, but it is something I have planned and about 20% implemented.
Status
Not open for further replies.
Back Top