A
|
ann 9/9/2010 |
Antoni, |
T
|
tone21705 author 9/10/2010 |
If I am interested in the button that fills the fields how would I go about doing that? Antoni, there are only two ways to set up such page. First is to set up fields (pt name, gender, age, race, etc) as dependent dropdowns on the Edit as settings dialog (Lookup wizard tab). Check Edit box with Ajax popup and Allow to add new values on the fly options on the tab. Or you need to create a button on the page which will fill fields directly on the page. |
A
|
ann 9/15/2010 |
Antoni, params["txt"] = document.forms.editform1.value_MRN_1.value;
str = "SELECT * FROM Table WHERE MRN=" & params("txt");
document.forms.editform1.value_gender_1.value = result["txt"]; |
R
|
rod 9/15/2010 |
Antoni, use Insert button feature on the Visual Editor tab. To return the value of the field use the following code (Client Before tab): params["txt"] = document.forms.editform1.value_MRN_1.value;
str = "SELECT * FROM Table WHERE MRN=" & params("txt");
document.forms.editform1.value_gender_1.value = result["txt"];
|
A
|
ann 9/16/2010 |
Rod, |
R
|
rod 9/16/2010 |
Rod, here is a sample for PHP: http://www.asprunner.com/forums/topic/14923-insert-button-feature-to-update-field-during-add-page/pagehlparams[fromsearch1
|