just purchased your custom select action and installed.
My need is to be able to show the list of countries in a form.
I (think) followed your instruction but nothing is showing on the field.
On the dropdown element side:
What should I write to the datapath field below the dynamic choise?
What should I write in the value and the text key fields?
On the CS action side:
I understand that "countries" should be written on the datapath (?)
Option file is choosen fron the list (and I chose "countries")
What did I set wrong? (Unless I have to write the list of countries inside the option box in the dropdown element)
Thank you for your help
The General tab
On the form Events tab drag a Custom Select [GH] action into the On Load event and drag it before the Show HTML action.
Open the action to configure it.
Enter an identifier in the Data Path box - this should be an alphanumeric string with no spaces e.g. us_states. You will need to enter the same identifier in the Data Path box of the corresponding element later on.
The 'Options file' box shows a selection of pre-installed options files. Select one of these to use a predefined list - to edit the predefined lists or add your own see the Options files help tab. Leave the selector at the first setting to use the Custom Options box.
In the Custom options box you can:
use special option: #RANGE# to generate a numeric option set;
or #CONTENT# to generate an article list;
or provide a path to a custom options file.
This can be any plain text file containing a list of options in the correct format (see the Option files help tab for more).
It you need to, use the 'Use text as values' checkbox to force the option text to be used as the values. The text is displayed in the form; the values are returned when the form is submitted.
You can add action label that will identify this action in the On Load event; this is useful if you are using several copies of the action.
Save the action.
The Preview tab
Next drag either a Select element or a Checkbox Group element into the Preview box of your form.
Open the element and click the Dynamic Data tab; set 'Enable' to 'Yes; add the name of the option file (without the .options suffix) in the Data Path box e.g. countries; enter value in the 'Value Key' box and text in the 'Text Key' box. Add any other settings you need on the other tabs.
Save the element, then save the form
Bob
Enter an identifier in the Data Path box = write e.g. "countries" as this is what I'd like to be shown on my form (action)
Enter an identifier in the Data Path box = write "countries" as well in the preview dropdown element
value and text key I left them empty
If this is what you mean then did not work to me
Thank you
Enter value in the 'Value Key' box and text in the 'Text Key' box
Bob
I entered in the action DataPath the word "countries" is it correct?
I entered in the preview dropdown DataPath the word "countries" is it correct?
then I entered the word "value" in the value key field is it correct?
then I entered the word "text" in the text key field is it correct?
(If correct then something should be wrong as it doesn't work!)
This is what I understand from your tutorial, so if I keep not understand this word, I am afraid you should use more words to make me understand, hoping you want to do it...