Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • First you need to create a form that will be used to take values from the user – in PhixFlow terms, this is known as a Form View:
    • Open the configuration form for the stream Wisteria Books Return Requests
    • Add a view:
      • Name: Enter Refusal Comment
      • Stream View Attributes: HandlingComments
      • In the list of Stream View Attributes double-click on HandlingComments
        • Set Width on Form to 300; Height On Form to 300
        • Tick Multiline on Form
        • Press

The setting Multiline on Form determines the result of pressing the enter key when entering values into a PhixFlow form view. With this setting on, while the user is editing this field, the enter key will put a link break into the value being entered. While the user is in any other part of the form (except for another multiline field) pressing the enter key commits the action – the equivalent of pressing the Image Modified button.

        • Go to the Advanced tab
        • Tick Form View
      • Press Image Modified to save your changes
  • Open the configuration form for the action Refuse Return that you created during the previous exercise
  • Set Form View to Enter Refusal Comment
  • Go to the Item Updates tab
  • Add an additional attribute:
    • Press - Show the list of Attributes
    • Drag in the attribute HandlingComments
    • You will see that this is auto-populated with the expression _prompt.HandlingComments – leave this as it is, since this is the expression you need
    • Press  in the main action form to save your changes

...