Sitemap Sitemap  |  Contact Us Contact Us  |  Clients Clients
   AddFileField
  Home |  WebHare Lite |  Downloads |  HareScript |  Websites/CMS |  Applications
Search for:  in: 
Applications
Module development
GUI development
 
Base interface elements
Dual column pages
Feedback handling
Form actions
Forms
Lists
AddFileField
  Create an file field, allowing users to replace, delete and download a file
 
Library module::system/webui/forms.whlib
 
Syntax PUBLIC MACRO AddFileField (STRING groupname,STRING fieldname,STRING label,BLOB filedata,STRING filename,STRING filetype)
 
Description A File field is a component in a field group
(use CreateFieldGroup to create one first)
 
Parameters
groupname Group to add this field to
fieldname Name of the field to add
label Label to display
filedata The file data blob
filename The name of the file
filetype File mime type. If empty, the file field is considered to have no associated file
 
 
In library 'forms'
AddBrowseServerDialog
AddCheckBoxField
AddChooseColourDialog
AddChooseFontDialog
AddChooseOrderingDialog
AddChooseUserDialog
AddDateField
AddDialogButton
AddFileField
AddFilePlaceholderField
AddGroupCheckBoxField
AddImageField
AddImagePreviewField
AddNamedReadOnlyField
AddPasswordField
AddPulldownField
AddRadioField
AddReadOnlyField
AddReadOnlyLinkField
AddTextAreaField
AddTextField
AddTimeField
AddUploadField
CreateCheckboxGroup
CreateFieldGroup
CreateRadioGroup
DisableField
EnableField
GetFormVariable
HideField
MakeChoice
 
Top To top of page