URL/Image Path/Data
Overview
The URL/Image Path/Data property of a Form Control on the Form Designer enables you to set a variety of advanced properties and behaviors. We call these tags. Certain tags apply all the time, and tags apply only for certain Control Classes. |
Tags
In netFORUM 2011 a tag selector has been added to help developers know which tags are available to add based on the control type. Clicking one of the tags will add it into the field, with the braces applied appropriately. |
accesskey
- adds alternative key (only works for images and buttons)
accesskey[o]
alwaysupdatepanel
Will refresh controls only if they have dependencies.
CausesValidation
CausesValidation[true]
disableautocomplete
Turns off the browser's autocomplete feature. You can also set this at the Column level as a global setting, so use this on a Form Control only when you want to allow autocomplete by default except for a particular control.
An example of this is we might allow certain customer oriented fields to autocomplete in eWeb, where the end users are typically entering their own personal information, but disable the feature in iWeb where users are entering information for different people all the time.
EnableSearch
In netFORUM 2014
EnableSearch[yes]
Does a contains search on a DropDownList. Uses the jQuerySelect2 control.
FileIdentifier
No Sample Code Yet
FileUploadBaseUrl
FileUploadBaseUrl[http://www.avectra.com/eWeb]
FileUploadOverwriteProtection
FileUploadOverwriteProtection[true]
When true, adds overwrite protection in file uploads.
FileUploadPath
FileUploadPath[/temp/]
Filterable
In netFORUM 2014
Filterable
Applies tags to a ListBox or DropDownList. Uses the jQuerySelect2 control.
FormKey
FormKey=b290c926-549c-4b54-8b20-14d45548ca1f
GroupingTag
horizontal
For a RadioButtonList control, makes the radio buttons be horizontal instead of vertical. Vertical is the default.
IMG
img[~\images\newreports.gif]
ImpersonatedField
ImpersonatedField[{zzz_code}]
InputMask
InputMask[{cty_postal_input_mask}]
OR
InputMask[regex:\d{5}(-\d{4})?]
InvisibleSQL
InvisibleSQL[select invisible='yes' where (isnull({inv_orig_trans_type},'') !='installment'
and isnull({inv_orig_trans_type},'') !='prepaid') or (isnull({apm_type},'') !='credit card'
and isnull({apm_type},'') !='telecheck')]
linkkey
LinkKey[788bb676-5403-4991-bcdf-ce97662e8379]
linkkeyadd
- for dropdownlistaddedit
LinkKeyAdd[96e8ca36-7fb1-4435-a8af-0794b3fc941f]
linkkeyedit
- for dropdownlistaddedit
No Sample Code Yet
see designed form menu and designed list menu
MENU[form] TYPE[iframe] FORMKEY[6e9f55b4-7e35-4cc3-bd46-0fb2793a89f6] DIRECTION[RB]
name
- gives a hmtl anchor to a hyperlink control class
No Sample Code Yet
NoExecute
noexecute[yes]
or
noexecute[no]
When this tag is added and the contents are "yes", then this will cause Form Extensions for this control to not execute.
This can be useful for diagnostics or troubleshooting.
NoExecuteSQL
- used for grids
No sample code yet
noupdatepanel
Defeats #alwaysupdatepanel
onblur
- add an onblur attribute
onblur[if(this.value != '') if(document.getElementById('dyx_object_after_save_parameters').value=='')
document.getElementById('dyx_object_after_save_parameters').value='Page:Page;Control:Control']
onchange
- add an onchange attribute
onchange[var n=this.value.length;this.value=this.value.replace(/[^0-9\$\.\,]/,"");if (n>this.value.length)
return alert('Sale price contained invalid characters that have been removed!');]
Example of updating two fields after the value of one field has been changed:
onchange[this.form.evh_arrival_date2_ext.value=this.value;this.form.evh_check_out_date.value=this.value]
- credit to Ted Pezzullo
onclick
onclick[OpenNewWindow('DynamicEditModal.aspx?Action=Add&FormKey=9878e410-f577-4320-8a82-1ad30847fd4b');]
A double quote can be used in place of the single quote around the URL if you the URL includes query string parameters that contain an apostrophe.
onkeyup
No sample code yet
override-autopostback
- sets a postback
No Sample Code Yet
override-readonly
- makes it readonly
ReadOnlySql[select * from ac_credit_detail (nolock) join ac_credit (nolock)
on cdd_cdt_key=cdt_key and cdd_key={cdd_key} and (cdt_bat_close_flag=1
or cdd_type<>'create credit' or cdd_void_flag=1 or cdd_closed_flag=1)]
override-readonlyedit
- makes it readonly onedit
No Sample Code Yet
ReadOnlySQL
ReadOnlySql[select * from ac_credit_detail (nolock) join ac_credit (nolock)
on cdd_cdt_key=cdt_key and cdd_key={cdd_key} and (cdt_bat_close_flag=1
or cdd_type<>'create credit' or cdd_void_flag=1 or cdd_closed_flag=1)
and cdt_coupon_flag = 0]
RequiredSQL
RequiredSQL[select getdate() where convert(money,{*ivd_price})<>convert(money,{ivd_price})
and {PriceOverrideReasonRequired}='Yes' and {AllowPriceOverride}='Yes']
Rounded
No longer used.
Searchable
In netFORUM 2013 Allows an UpdateGrid to be searchable.
SetDefaultValueWhenInvisible
In netFORUM 2011
[setdefaultvaluewheninvisible]
Add this tag to instruct netFORUM to set the value of a control based on its default value setting, even if that control is invisible.
By default, netFORUM will not set values on invisible controls, so if you want this to happen, then add this tag.
target
- blank, new
target[_blank]
OR
Target[new] url[http://{cgs_web}]
URL
URL[javascript:void(0);] MENU[form] TYPE[iframe] FORMKEY[6e9f55b4-7e35-4cc3-bd46-0fb2793a89f6] DIRECTION[RB]
url[../Reports/ReportStart.aspx?ReportKey=8057AD66-CBFC-44AC-9BDD-74773EFFDA81]