PDA

View Full Version : Prompt Field how to make optional


admad1
06-Jul-2003, 02:52 PM
Hi Guys
I am using the other Info field under Prompts. I sell trophys with or with out engraving .This field is used for the purchaser to enter thier engraving inscription, the problem is that not all purchases want engraving but unless they enter somethin in this field thay cant procced with the purchase.

Is there anyway to make this field optional?

Many Thanks
AndyOther Info

NormanRouxel
06-Jul-2003, 03:11 PM
Making it optional isn't easy but the following might be useful to you:-

If you go to Design / Text / Go to Phase -1 ID 2161 you will find:-

%s<INPUT TYPE=text NAME="%s" SIZE="%d" MAXLENGTH="%d">

If you change this to be

%s<INPUT TYPE=text NAME="%s" SIZE="%d" MAXLENGTH="%d" value="No engraving required">

Then this will preset the field.

Norman