Forum Discussion
JackFretwell
Qrew Assistant Captain
Hiya, is there a limit to how many of these buttons you can have on one form? And is there a specific naming convention? Having used "-" would "--" be okay?
_anomDiebolt_
7 years agoQrew Elite
The name of the IOL field is not significant but you can only have one on the page at a time. This is because there is logic in the field that prevents the module.js script from loading more than one time. If you put two image onload fields on a page the second one will not run its module.js script.
The field name [-] was chosen so that when the field was included in a report it would produce a thin column that would not take up any space because normally there is no content to display for this field.
Sometimes the IOL Technique is used along with other visible elements like buttons, or form controls. In this case that standard IOL field definition is appended with the relevant HTML for the button or form controls:
The field name [-] was chosen so that when the field was included in a report it would produce a thin column that would not take up any space because normally there is no content to display for this field.
Sometimes the IOL Technique is used along with other visible elements like buttons, or form controls. In this case that standard IOL field definition is appended with the relevant HTML for the button or form controls:
[iol] & "module.js" & [/iol]If you want to use the IOL Technique to put multiple buttons or other controls on a form you could do something like this:
&
"<a class='QBU_Button Vibrant Success' " &
" data-rid='" & [Record ID#] & "'" &
">Button</a>"
[iol] & "module.js" & [/iol]
&
"<a class='QBU_Button1 Vibrant Success' " &
" data-rid='" & [Record ID#] & "'" &
">Button1</a>"
&
"<a class='QBU_Button2 Vibrant Success' " &
" data-rid='" & [Record ID#] & "'" &
">Button2</a>"