Hello,
I'm trying to create a template where my users will be able to pick several lines using checkboxes. I'm using Scaffolding Plugin to do it.
I need this:
{list-data:Mydailylist|type=check|multiple=true}
{list-option:value=1}# Wake up;{list-option}
{list-option:value=2}# Watch TV;{list-option}
{list-option:value=2}# Clean my teeth;{list-option}
{list-data}
To be converted to:
<ol>
<li>Wake up;<li>
<li>Watch TV;<li>
<li>Clean my teeth;<li>
</ol>
What I'm getting is:
<ul style="list-style: none; margin: 0px; padding: 3px"><li><label><input type="checkbox" name="scaffold.Mydailylist" value="<WikiReference>
<nonWiki># Wake up;</nonWiki>
<wiki># Wake up;</wiki>
</WikiReference>" tabindex="5"><ol>
<li>Wake up;</li>
</ol>
</label></li>
<li><label><input type="checkbox" name="scaffold.Mydailylist" value="<WikiReference>
<nonWiki># Watch TV;</nonWiki>
<wiki># Watch TV;</wiki>
</WikiReference>" tabindex="5"><ol>
<li>Watch TV;</li>
</ol>
</label></li>
<li><label><input type="checkbox" name="scaffold.Mydailylist" value="<WikiReference>
<nonWiki># Clean my teeth;</nonWiki>
<wiki># Clean my teeth;</wiki>
</WikiReference>" tabindex="5"><ol>
<li>Clean my teeth;</li>
</ol>
</label></li>
</ul>
Is there any way to make Scaffolding Plugin show numbered list instead of <ul>?
How about putting
{list-data:Mydailylist|type=check|multiple=true} {list-option:value=1}1 Wake up;{list-option} {list-option:value=2}2 Watch TV;{list-option} {list-option:value=3}3 Clean my teeth;{list-option} {list-data}
You may want to post your question at the CustomWare's Scaffolding plugin page or search at http://community.customware.net/customware
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank everyone for your answers!
CSS list-style-type property seemed to be the best solution as long as I'm not too good in JS.
This is what what Scaffolding currentle gives me.
<ul style="list-style: none; margin: 0px; padding: 3px 0px"> <li> <ul> <li> Wake up;</li> </ul> </li> <li> <ul> <li> Watch TV; </li> </ul> </li> </ul>
I do not know how to apply css property to this list only. I wanted to use <div id="decimal-list"> with {html} macro:
{html}
<div id="decimal-list">
{html}
Scaffolding call goes here.
{html}
but confluence adds "<p></p>" between my html and Scaffolding call.
The only solution is JS, but this is our of my time budget.
2 huasoon [Akeles] : I need the list to be numbered and look like this 1,2,3, etc.
1,3,5 will not look good for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.