'Previous card' button Id

Description

Specify the Id of the button in the Panel Navigator Header or Footer that should be used for the 'Previous' button.

A Panel Navigator with a Header
A Panel Navigator with a Header
A functioning 'Previous' button
A functioning 'Previous' button

Using 'Previous card' button Id

This guide describes how to construct the component illustrated above.

  1. In the UX Builder on the UX Controls page check the 'Mobile' checkbox

    Previ25
  2. Open the Panels menu. Click on the [Panel Layout] option to add a Panel Layout container to the component.

    Previ2
  3. In the Panels menu click on the [Panel Navigator] option and 'Insert After' to add a Panel Navigator inside the Panel Layout container.

    Previ3
  4. Highlight the Panel Navigator. In the Panels menu click on [Panel Card] and 'Insert After' to add a Panel Card to the Panel Navigator.

    Previ4
  5. Click on [Panel Card] again to add a second Panel Card to the Panel Navigator, underneath the first one.

    Previ5
  6. Click on [Panel Card] a third time to add a third card to the Panel Navigator.

    Previ6
  7. Highlight PANELCARD_1. Open the 'Other Controls' menu and add a [Static Text] control inside the first Panel Card.

    Previ7
  8. Highlight the Static text control. Set the Static text property to read 'Panel 1'. This property is located in the properties list under 'Static Text Properties'.

    Previ8
  9. Highlight PANELCARD_2. Open the 'Other Controls' menu and click on the [Static Text] option to add a control to the second Panel Card. Set the Static text property to read 'Panel 2'.

    Previ9
  10. Highlight PANELCARD_3 and then add a [Static Text] control here as well. Set the Static text property to be 'Panel 3'.

    Previ10
  11. Highlight the Panel Navigator control.

    Previ11
  12. Open the Containers menu and select the [Container] option.

    Previ12
  13. From the Container Type list select 'Panel Header' and click 'Insert After'.

    Previ13
  14. Highlight the Panel Header control and open the 'Other Controls' menu. Click on the [Button] option to add a button control to the Panel Header.

    Previ14
  15. Highlight the button control. In the properties list under 'Button Properties' set the Button text property to read 'Previous'

    Previ15
  16. Set the button control's 'Id' property to "PREVIOUS" as well.

    Previ16
  17. Open the 'Other Controls' menu and add a second [Button] control to the Panel Header container.

    Previ17
  18. Set this second button's 'Button text' property to read 'Next'. Set the Id to be 'NEXT'.

    Previ18
  19. Highlight the Panel Navigator.

    Previ19
  20. In the properties list's 'Navigation Buttons' section check the "Has 'Previous card' button" property

    Previ20
  21. From the dropdown of defined buttons select the 'PREVIOUS' button that you defined.

    Previ21
  22. Check the "Has 'Next card' button" property.

    Previ22
  23. Set the 'Next button Id' property to be the 'NEXT' button.

    Previ23
  24. The component should now look like this. Remove the toggle that appears after the 'Previous' button in the Panel Header.

    Previ24
  25. Run the component in Live Preview. When you click on the 'Next' button you should see Panel 2 appear. On Panel 2 you should see also the 'Previous' button appear, now that there is a previous panel to move back to.

    • Next
      Next
    • Next
      Next
    • Next
      Next