Support This Site


Warning: fopen(/var/www/facileforms.biz/administrator/components/com_docman/docman.config.php) [function.fopen]: failed to open stream: Permission denied in /var/www/facileforms.biz/administrator/components/com_docman/classes/DOCMAN_config.class.php on line 119

Document details

Details for Use select list to show record details
PropertyValue
NameUse select list to show record details
DescriptionThis sample shows how use a select list to display record details. The method used is exporting all records to javascript so they are immediately available without having to do a submit after the selection. It is therefore only suitable for limited number of records, but not for large sets because all data need to be sent to the browser before the form can be displayed.

(Requires FacileForms 1.4.6d or up)

Outline:
  • In the before form piece the standard piece library gets loaded.
  • The select list options get populated by the database table
  • The action script exports the whole table into a javascript array of objects. The details of the record selected in the drop down list get displayed in a static text/html element in table format.
Filesize4.36 KB
Filetypexml (Mime Type: text/xml)
Creatorfacile
Created On: 02.07.2006 08:46
ViewersEverybody
Maintained by
Hits4463 Hits
Last updated on 02.07.2006 08:54
Homepage