Changes

Jump to: navigation, search

Web Page View Field Variables

599 bytes added, 20:40, 27 October 2011
Adding a File Upload button
<body onload="includejsfiles();">
'''Alternatively:'''
You may also use @fieldname.uploadlink@ to get the url for the upload page and construction your own function to open the window.
 
'''Example:'''
<input type=button class=Button value='Upload' onclick="openupload('@fieldname.uploadlink@')" />
<pre>
function openupload(url)
{
upload_window = window.open(url,'upload_window', 'menubar=yes,scrollbars=yes,width=800,height=600,status=no,resizable=yes,dependent=yes,alwaysRaised=yes');
upload_window.opener = window;
upload_window.focus();
}
</pre>
 
'''Note:''' this method will only open the single file upload page.
==Displaying a Dynamic Data Grid field==
Smartstaff, administrator
38
edits

Navigation menu