how to set non-default value of drop list

Dynamic C 9.62

static const char* const mode_options[] =

When setting up a web form, e.g.:
sspec_setfvoptlist(form, var, mode_options, 3);

…how do you initialize the HTML_FORM_PULLDOWN so
that a non-default value is displayed, say for example I want to initialize the drop list so that “second” is displayed instead of the default value, “first”.


Solution is to initialize the second param in the function
sspec_addvariable() before sspec_setfvoptlist() is called.