This topic is locked

'Hidden' Add Field

3/8/2004 12:55:27 PM
ASPRunnerPro General questions
author

Hi, first of all thanks for this great product! Here in our company we are absolutely starter in ASP and could not do such work without ASPRunner help!
There is just one thing the we are missing:
When adding some records to an MS SQL DB table, we would like that some of the "Hidden" (default) values were kind of dinamic, in other words, that the default value should be retrievied from a DB just as done in "Lookup wizard" fields.
Explaining better: we have a DB table that holds some login/password registers. The first register of this especific table keeps the l/p that needs to be inserted by default (and hidden) along with other fields that are typed by the user in the ASPRunner generated web page.
I know that it is possible, because I already put to work the following: the login/password registers from that DB table appears correctly as a "Lookup wizard" or "Radio" fields, but I need them to be selected automaticaly (select first register of each field) and this need to be done secretly.
Hope to have a reply.
Best Regards,
Eduardo Pimentel

ProSystems BRAZIL

Sergey Kornilov admin 3/10/2004

Eduardo,
I don't have "ready to go" code for this. It can be implemented almost the same way as drop-down boxes work on the add/edit page. Take a look at the code that builds database driven drop-down boxes to get an idea.