Categories > TinyButStrong general >

TBS, Array of hidden <INPUT> tags

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Mike
Date: 2009-07-01
Time: 23:49

TBS, Array of hidden <INPUT> tags

Hi folks,

I'd like to do this:
<input type="hidden" name="[profee.id;block=input]" value="[profee.val]" readonly="readonly" id="pk2_[profee.val]" />

Best I can come up with is this;
<span><input type="hidden" name="[profee.id;block=span]" value="[profee.val]" readonly="readonly" id="pk2_[profee.val]" /></span>

Is there a better way?

TIA
Mike
By: TomH
Date: 2009-07-02
Time: 21:45

Re: TBS, Array of hidden <INPUT> tags

More details can be found in the "Manual"

block=tag/      By adding character / at the end of the tag's name, TBS won't retrieve the closing tag. The block will be defined on the single opening HTML tag which contains the TBS tag. This can be useful to multiply an image for example.

HTH,
TomH