At prompt box - question

I have a promt for the user to answer. Ok, 2 questions. How do I make it defaut to a certain choice? Also, I suppose I need to create a form so a particular user can edit the choices. I assume the “field name” needs to be incorporated into the formula. How do I do that? - Thanks!

@Prompt([OkCancelList];“Return”;“From what location?”;

     "East";

     "West":

     "North":

     "South")

Subject: at prompt box - question

Question 1: default value for prompt -

@Prompt( [ OKCancelList ]; “Return” ; “From what location” ; “East” ; “East”:“West”:“North”:“South”)

(Your default choice needs to be a member of the choices list; you aren’t including East in your choices.)

Question 2: do you mean you want to create a profile document that contains the choices, so that an end-user can edit them? Create your profile doc, add a multivalue field to it. In your action code that calls the prompt, do something like this:

x:=@GetProfileField(“profDoc”; “choicesField”);

@Prompt([OKCancelList]; “Return”; “From what location?”; “East”; x)

You might need to use @Explode around x, not sure of the syntax right now and don’t have time to test.