numero = 19192
interpreted = N
texte = Hi all,I have been used snippet #1 below on an Admin_Add.tpl template to dynamically create the pop up menus for input when a new product is added to the database. SNIPPET #1==========CATEG01:
I have successfully used snippet #2 on an Admin_Edit.tpl template to successfully show in a pop up menu the selected menu item for the record to be edited that is returned by a search.SNIPPET #2==========Category: I would like to combine the two so that a version of snippet #1 would create the pop up dynamically AND show the value of the field in the found record as SELECTED in the pop up menu on the Admin_Edit.tpl template.I've tried several different versions figuring that it required some use of the [lineIndex] tag. I get the pop up OK, but I don't get the value of the field as the selected value ind the pop up.Can someone steer me in the right direction.Jerry NielsenJerry N. Nielsen Voice: (310)264-2050Apple Computer, Inc. Fax: (310)264-2044Training Development Executive Cellular: (626)695-28952041 Colorado Avenue - Suite 325Santa Monica, CA 90404Learn about Apple products and technologies on the internet.Sign up for Learn and Earn today at http://training.apple.com/lae/^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Associated Messages, from the most recent to the oldest:
Dynamic Pop Up Menus with Record Value Selected (Jerry Nielsen 1998)
Hi all,I have been used snippet #1 below on an Admin_Add.tpl template to dynamically create the pop up menus for input when a new product is added to the database. SNIPPET #1==========CATEG01:
I have successfully used snippet #2 on an Admin_Edit.tpl template to successfully show in a pop up menu the selected menu item for the record to be edited that is returned by a search.SNIPPET #2==========Category: I would like to combine the two so that a version of snippet #1 would create the pop up dynamically AND show the value of the field in the found record as SELECTED in the pop up menu on the Admin_Edit.tpl template.I've tried several different versions figuring that it required some use of the [lineIndex] tag. I get the pop up OK, but I don't get the value of the field as the selected value ind the pop up.Can someone steer me in the right direction.Jerry NielsenJerry N. Nielsen Voice: (310)264-2050Apple Computer, Inc. Fax: (310)264-2044Training Development Executive Cellular: (626)695-28952041 Colorado Avenue - Suite 325Santa Monica, CA 90404Learn about Apple products and technologies on the internet.Sign up for Learn and Earn today at http://training.apple.com/lae/^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jerry Nielsen
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...