Sitemap Sitemap  |  Contact Us Contact Us  |  Clients Clients
   AddFilePlaceholderField
  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
AddFilePlaceholderField
  Create an file placeholder field, with links to the replace, delete and download pages
 
Deprecated Use AddFileField instead
 
Library module::system/webui/forms.whlib
 
Syntax PUBLIC MACRO AddFilePlaceholderField (STRING groupname,STRING label,STRING filename,STRING filetype,STRING downloadlink,STRING replacelink,STRING deletelink,BOOLEAN active)
 
Description A File placeholder field is a component in a field group
(use CreateFieldGroup to create one first)
 
Parameters
groupname Group to add this field to
label Label to display
filename The name of the file
filetype File type (FIXME: how to encode??)
downloadlink Link to download page (user should create this page)
replacelink Link to download page (user should create this page)
deletelink Link to download page (user should create this page)
active If there is not yet a file assigned, set this to false
 
 
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