Save and New button added to Add Record and Edit Record pages

A new ‘Save and New’ button is added to Add Record and Edit Record pages, typically at the bottom of the page, when creating a new application.

Migration effects

None.  Your application is not modified.

What you should do

You can manually add the ‘Save and New’ button to the HTML layout pages for your application’s Add Record and Edit Record pages.

Step 1:  Use the Application Explorer to open the page in Iron Speed Designer.

Step 2:  In Design Mode, select the page area where you wish to add the button.

Step 3:  Drag a Button control (GEN:PushButton code generation tag) from the Toolbox onto the page.  Name the button “SaveAndNewButton”.

Step 4:  Select Tools, Properties... to display the Properties dialog.  Then, select the newly added button control.

On the Display tab, set these properties:

Property

Setting

Button text

Save and New

On the Bindings tab, set these properties:

Property

Setting

Action

Save data on page

Enable client-side validation

Checked

Step 5:  Click “Add...” to display the Button Action Wizard.  Set these properties:

Property

Setting

Redirect and Send Email Actions

Stay on the current page

Step 6:  Finally, click ‘OK’ to close the Properties dialog.

Step 7:  Build and run your application.

See Also

Version 5.0 Application Migration