I have a select box that holds database items if any of the database fields are TRUE. Once I click submit, the field turns to FALSE and the next time someone visits the page, that database item will no longer be shown in the select box.
However, the only way I have found to clear the select box is to press the submit button twice, which is something i don't want to do.
I want the select box to refresh without and response.redirects to other pages because I want the user to remain on the same page and read a confirmation message.
This confirmation message must be on the same page
Is there any way that I can force the select box to refresh itself without refreshing the page? Maybe creating the select box inside a function and then calling the function at the end of the script?
Can someone please help me out?