Dropdown/Textbox

Top  Previous  Next

Display a dropdown with a number of predefined entries to choose from (if no predefined values are specified, a textbox is displayed).

Use a Manual Input to request additional information.

Use a Manual Input to request additional information.

 

You can use Manual Input in combination with the Open Website macro to search the web (e.g. Amazon)

You can use Manual Input in combination with the Open Website macro to search the web (e.g. Amazon)

 

To set Manual Input as Dropdown/Textbox

In the Manual Input design window, choose Dropdown/Textbox in the Display as box.

 

Customizing the Dropdown/Textbox Manual Input

The Dropdown Manual Input

The Dropdown Manual Input

 

You can customize the Dropdown/Textbox Manual Input through the following options:

1.Autofill with selection: when this option is checked, PhraseExpander automatically uses the current text selection (instead of showing the Manual Input dialog) if the phrase is triggered by using a shortcut.

2.Limit to predefined values: if this option is checked, the user cannot choose any value outside the provided choices.

3.Sort predefined values: you can sort the predefined values in ascending or descending alphabetical order.

4.Predefined values: a list of predefined values the user can choose from.

 

Preselecting a predefined value

PhraseExpander will automatically pre-populate the textbox with the first item in the list of predefined values. If you want to display another value, just prepend a * to the element you want to display as default.

In the example above, the item 5 days will be selected by default.

 

Assign a shorter description to a predefined value

Sometimes you may want to assign a different description from the text you want to enter (for example, because the text is too long or you want to associate a code with something that is easier to remember).

You can do that by entering a predefined value in the following format.

 

[description]text to insert

 

description: the description that will be shown when displaying the Manual Input form

text to insert: the actual text that will be inserted when the phrase is executed

 

In the example above, this is used for the 6th item:

[out of stock]the item is currently out of stock

 

The description out of stock is displayed when invoking the Manual Input, but the actual text that will be inserted is the item is currently out of stock.

 

Macro Syntax

 

{#input 24-hours::2 days::*5 days::1 month::2 months::[out of stock]the item is currently out of stock -[desc=Shipment]#}

 

NOTE: for more customization options, please check the Manual Input Advanced Customization.