Ed Johnson wrote on 25 Mar 2010 20:08
I think a "staticwiki:" field type could be very useful. This was brought to light by leiger while testing a lengthy form I'm working on. My form is a questionnaire related to designing a Wikidot site. Some of the questions could really use further explanation/clarification, and using a static field for that would work nicely. However, if the static field supported wiki markup, I could enclose that extra text in a collapsible block, for example, to keep the form shorter and cleaner for those who don't need to see the extra help text when filling out the form. I would mainly use it as a "[?] More info" kind of link.
[edit] I just learned that collapsible blocks can be used inline (who knew besides James!?), so they can be used with the current static field type using the "proper" syntax trick. See the post below for details.
The pop-up hint text I suggested a few days ago could also be a way to help this use case, but my guess is others would find a staticwiki: field type useful for other things in a hurry.
Does this make sense or am I way off the mark?
-Ed
I'd prefer the built-in popup help text over this, to be honest.
Doesn't the static field type already support wiki syntax though? Sounds like collapsible blocks don't work with it.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
What do you mean by "built-in popup help text"? The only built-in popup help text I know of is the javascript driven one used on the option buttons at the bottom of the page.
Static fields support some Wikidot syntax. What I just found after reading James' post elsewhere that collapsible blocks work inline (I never even considered trying that before!) is that you can make them work inside static fields if you use the @< >@ trick that I figured out when I was playing with inline span code.
This works to create a collapsible block in a static field. This is a satisfactory work-around for my needs for now, but it is not the same thing as what I am asking for. Even though my wish was driven by my desire to provide more detailed help within a form, I'd still like to have the ability to use complete Wikidot syntax in a static field without having to use "tricks" or a work-around to get the desired result. The current implementation of static fields is limited to a single paragraph of text and all formatting has to be done inline.
-Ed
Community Admin
Could you show us where you have used this? I'd like to see it in action :)
See the links in this post. I just added the collapsible block to the "[+] Instructions" to show how it works.
BTW, Thanks for the tip about collapsible blocks working inline!
-Ed
Community Admin