我想在 Demandware 的输入字段中附加图像...
我想在 Demandware 的 isinputfield 标签上使用样式,我可以像在这个标签上一样在 Demandware 模板中实现这一点
isinputfield formfield="${pdict.CurrentForms.helloform.nickname}" type="input"
非常感激!
我想在 Demandware 的输入字段中附加图像...
我想在 Demandware 的 isinputfield 标签上使用样式,我可以像在这个标签上一样在 Demandware 模板中实现这一点
isinputfield formfield="${pdict.CurrentForms.helloform.nickname}" type="input"
非常感激!
isinputfield
是一个自定义ISML标签,在模板中实现
{cartridge_name}/cartridge/templates/default/util/inputfield.isml
可以使用该参数rowClass
为周围的div指定一个CSS类(实际上可以在上面提到的模板中看到使用该参数的代码)
例如
<isinputfield
formfield="${pdict.CurrentForms.giftcert.purchase.from}"
rowClass="label-above"
type="input" />
之后,您需要为您应用的类提供 CSS 样式。