Changes

Web Page View Field Variables

397 bytes added, 15:50, 19 August 2010
no edit summary
To display a button to upload to a [[Single File]] or [[Multiple Files]] custom field:
* Single File:
:<font size="3"><input type=button class=Button value='Button Label' onclick="x_uploadfile(''customfieldid'',-1,'@codedid@')" /></font>
* Multiple Files:
:<font size="3"><input type=button class=Button value='Multiple files..Button Label.' onclick="x_uploadfolder(123456''customfieldid'','@codedid@')" /></font>
'''where:'''
* ''customfieldid'' = the field id of the Single or Multiple file custom field (without '''cf_''')
 
 
'''Example:'''
<input type=button class=Button value='Multiple files...' onclick="x_uploadfolder(''customfieldid'','@codedid@')" />
'''Note:''' if adding to a [[Web Page View]] you will need to add the following to the page:
0
edits