Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
Deprecated.
Deprecated. This function is deprecated and should not be used in new scripts.
SubmitButton Deprecated. The UI service was deprecated on December 11, 2014. To create user interfaces, use the HTML service instead. A standard push-button widget which will automatically submit its enclosing FormPanel if any. Here is an example of how to use this widget:
function doGet() { var app = UiApp.createApplication(); var form = app.createFormPanel(); var flow = app.createFlowPanel(); flow.add(app.createTextBox().setName("textBox")); flow.add(app.createSubmitButton("Submit")); form.add(flow); app.add(form); return app; }
function doPost(eventInfo) { var app = UiApp.getActiveApplication(); app.add(app.createLabel("Form submitted. The text box's value was '" + eventInfo.parameter.textBox + "'")); return app; }
Internally, UiApp widgets are built on top of the Google Web Toolkit, and it can sometimes be helpful to look at the GWT documentation directly. You can find the SubmitButton documentation here.