update_form_screen
Admin-only MCP tool.
Update an existing form screen (multi-page screen). Only the settings you provide are changed; anything you omit is left as-is. The “pages” property makes targeted changes: for each page you can add or remove individual elements, change its title, or replace its display conditions, and you can add new pages or delete pages - without having to redefine the whole screen. Pages you do not mention are untouched. The order of elements on the page is not controlled here; you must control element order using the ‘placement’ parameter of the create element and update element tools. Providing “button_text” updates only the button labels you include; button labels you do not include will remain unchanged. To reorder pages, use the change_form_screen_page_order tool. Use get_screen_details to see a screen’s current pages and settings before updating it.
Properties
| Property | Type | Required? | Description |
|---|---|---|---|
| screen_id | integer | Required | Required. The id (sid) of the form screen to update. |
| title | string | Optional | Optional. A new name for the screen. |
| handle | string | Optional | Optional. Left unchanged if omitted. A short name for this screen, unique across every screen in the system. Spaces and hyphens become underscores, anything else that is not a letter, number or underscore is stripped, and capitals are lowered. If the name you ask for is already in use by another screen, it is adjusted until it is unique. Changing it breaks anything that refers to the screen by the old handle. |
| anonymous_access_needs_passcode | boolean | Optional | Optional. Left unchanged if omitted. When anonymous visitors can reach this screen, require them to enter a passcode that they will have received prior, in order to open a particular entry. On by default. Turning it off means anyone with the link can open the entry, so only do it for truly public access situations. The Anonymous Users group (group 3) will also need permission for the form, use the set_form_permissions tool to do that. |
| is_default_form_screen | boolean | Optional | Optional. Make this the default form screen. When a menu item or URL leads to the form without naming a screen, and the user is limited to only interacting with a single entry in the form, Formulize will default to showing this screen. The default form screen is also used by most list screens when users click on entries to display or edit them. Setting true replaces whatever form screen held the position before - a form only has one default form screen at a time. If you are updating, setting false will remove the default ‘.form.’ screen, but only if this screen is currently the one holding it; on any other screen false does nothing, so it cannot displace a different screen by accident. |
| pages | array of object | Optional | Optional. A list of targeted page changes. Only include the pages you want to modify or add - pages you do not mention are left unchanged. Target an existing page with a page_number to modify its settings (ie: add_elements, remove_elements, change its title, etc). Omit the page_number to append a new page. To change the order of pages, use the change_form_screen_page_order tool instead. |
| show_navigation_tabs | boolean | Optional | Optional. Show page-navigation tabs across the top of the form, one per page. Default is true. On an exceptionally long form with many pages, or a form where jumping to an arbitrary page is not desired, you may want to set this to false. |
| show_save_and_go_back_button | boolean | Optional | Optional. Show the Save and Go Back button at the bottom of the form, which saves and goes to the previous page. On the first page it is the Save and Close button instead, which saves and leaves the form. Default is false. Useful on a long form with many pages, especially when show_navigation_tabs is false. |
| show_save_button | boolean | Optional | Optional. Show the Save button at the bottom of the form, which saves and stays on the page. Only shown to users who can save the entry. Default is true. |
| show_close_button | boolean | Optional | Optional. Show the Close button at the bottom of the form, which leaves the form without saving. Default is true. |
| show_save_and_continue_button | boolean | Optional | Optional. Show the Save and Continue button at the bottom of the form, which saves and goes to the next page. On the last page it is the Save and Finish button instead. Default is false. A form screen with a Thanks page always has this button, because it is how users reach the Thanks page, so it cannot be turned off while show_thanks_page is true. |
| show_page_indicator | boolean | Optional | Optional. Show a ‘page X of Y’ indicator. Default is false. |
| show_page_selector | boolean | Optional | Optional. Show a drop-down menu for jumping directly to a page. Default is false. |
| show_page_titles | boolean | Optional | Optional. Show each page title as a heading at the top of the page. Default is false. If navigation tabs are turned off, this is the only way for the user to see the page titles. |
| columns | integer (one of: 1, 2) | Optional | Optional. Lay out each page in one or two columns. In two-column layout the element captions go in column one and the inputs in column two, collapsing to one column on phones. Default is 2. |
| column1_width | string | Optional | Optional. CSS width of the first column (eg ‘20%’, ‘200px’, ‘auto’). In a one-column layout this is the width of the whole form and defaults to ‘auto’. In a two-column layout it defaults to ‘20%’. |
| column2_width | string | Optional | Optional. CSS width of the second column in a two-column layout. Default is ‘auto’. |
| button_text | object | Optional | Optional. Custom labels for the form buttons. Only include the ones you want to change; the rest keep their existing/default labels. A label set to an empty string uses the default label. Which buttons appear is set by show_save_and_go_back_button, show_save_button, show_close_button and show_save_and_continue_button, not by the labels. |
| previous_page | string | Optional | Label of the Save and Go Back button, which saves and goes back to the previous page. It only appears when show_save_and_go_back_button is true. Default is “Save and Go Back”. |
| next_page | string | Optional | Label of the Save and Continue button, which saves and goes on to the next page. It only appears when show_save_and_continue_button is true. Default is “Save and Continue”. |
| save | string | Optional | Label of the Save button, which saves without changing page or closing. It only appears when show_save_button is true, and the user can save. Default is “Save”. |
| close | string | Optional | Label of the Close button, which closes the screen without saving. It only appears when show_close_button is true. Default is “Close”. |
| save_and_close | string | Optional | The label of the Save and Go Back button on the first page, where clicking it saves and closes the form. When show_navigation_tabs is true, this text is also used for a special leftmost tab which the user can click to save and close the form. Default is “Save and Close”. |
| save_and_finish | string | Optional | The label of the Save and Continue button on the last page. Used to save and finish (which will either close the screen, or take the user to the Thanks page if show_thanks_page is true). Default is “Save and Finish”. |
| printable_view | string | Optional | Button to open the printable version of the form. Set to an empty string to hide it. Default is “Printable Version”. |
| thankyou_link | string | Optional | Text of the link on the Thanks page that leaves the form. Default is “Continue”. |
| show_thanks_page | boolean | Optional | Optional. When false (default), finishing the form is treated as done and no Thanks page is shown. When true, a Thanks page is shown after the user finishes, and the Save and Continue button is turned on. A screen with thanks_text always shows the Thanks page, so this cannot be set to false while it has thanks_text; set thanks_text to an empty string first. |
| thanks_text | string | Optional | Optional. What the Thanks page shows after the user finishes the form. HTML, where |
| intro_text | string | Optional | Optional. What appears above the questions on the first page of the form. HTML, or PHP code starting with <?php, which prints what should appear and can use $entry_id. An empty string removes it. |