This topic is locked

Look up wizard

2/25/2004 11:59:09 PM
ASPRunnerPro General questions
author

Hi,
Great product, couple of questions:

  1. When using the lookup wizard, how do you make it a required field?
  2. I am using a separate access table for the drop down list. The list is resorting in alphabetical order. How do I keep the list in the order I entered it in the table?
    thx
    Lew

Sergey Kornilov admin 2/26/2004

Lew,

  1. You can make drop-down box required field manually.

    Open ..._edit.asp in text editor and make changes in bold:
    <!--#include file="include/validate.htm"-->

    <body bgcolor=white onLoad="define('FieldName','IsRequired','FieldName');">


and

<form name=editform method=post action=..._edit.asp  onSubmit="return validate();">


2. Just do not choose any Order by column when you setup Lookup wizard in ASPRunner.

501019 2/26/2004

Thanks Sergey,
Works great on both counts!
Now how do I get the red Asterisk to show up on the field that I manually made a required field?
thx for your help
Lew

Sergey Kornilov admin 2/28/2004

Lew,
you can do this by modifying IsRequired function in ..._aspfunctions.asp file.

This function is self-explanatory.