Execution flow

By default, Jeamlit apps execute the script entirely, but we allow some functionality to handle control flow in your applications.

Rerun script

Rerun the script immediately.

Jt.rerun()

By default, Jeamlit reruns your script everytime a user interacts with your app. However, sometimes it's a better user experience to wait until a group of related widgets is filled before actually rerunning the script. That's what Jt.form is for!

Forms

Create a form that batches elements together with a "Submit" button.

var form = Jt.form().use(); String name = Jt.textInput("Name").use(form); String email = Jt.textInput("Email").use(form); boolean submitted = Jt.formSubmitButton("Sign up").use(form);

Form submit button

Display a form submit button.

var form = Jt.form().use(); String name = Jt.textInput("Name").use(form); String email = Jt.textInput("Email").use(form); boolean submitted = Jt.formSubmitButton("Sign up").use(form);
forum

Still have questions?

Go to our discussions forum for helpful information and advice from Jeamlit experts.