Home
Knitting
All Knitting
Knitting Needles
Buttons
Knitting Tools
Sock Blockers
Addi Knitting Products
Weaving
All Weaving
Loom Kits
Looms
Loom Tools
Kitchen
Garden
Desktop
Bespoke
{{shopper.order.total_VIEW}}
Order Number: {{shopper.orderNumber}}
Check Out
OpenForum
Extensions
ListField
Inserts a form input field.
Parameters
name - the field name list - the list name value - optional value
Usage:
[{ListField name="beetle" list="names"}]
{{optionValue}}
Your Beetle is {{beetle}}
//OpenForum/Extensions/ListField/renderer.sjs
name = extension.getAttribute("name"); value = extension.getAttribute("value"); action = extension.getAttribute("action"); list = extension.getAttribute("list"); listField = extension.getAttribute("listField"); if(value==null) { value=""; } if(listField==null) { listField = "optionValue"; } else { listField = "optionValue."+listField; } var onChange = ""; if(action!=null) { onChange = "onChange='"+action+"(); return false;'"; } var uid = ( ""+Math.random() + new Date().getTime() ).replace(".",""); return "
" + "
\n
{{" + listField + "}}
\n
";
An error has occurred.
{{OpenForum.errorMessage}}
See technical details
×
Error details.
{{OpenForum.error}}
×
{{OpenForum.alert.title}}
{{OpenForum.alert.message}}
×