For an image button try [image src=....] To style the text input field, try adding style=" " to the input field.
If these don't work, let me know. I don't use either feature much, but they are in the code. Should work... Cheers, Dan P.S. There are some strong security protocols built into BoltWire that would make it difficult to use raw html to create a form--at least one that accesses the BoltWire forms processing engine. FYI, you can use the embed function to do other kinds of html insertions. P.P.S. You don't want a markup that allows raw html insertion or every site with a comment box would be horribly susceptible to hacking... ;) On Tue, Aug 23, 2011 at 2:09 AM, zenith <[email protected]> wrote: > Hey, > I want to add the search form directly in the menu of my site. The > menu is a zone which is included in code.skin such as [[menu]]. It > seems to work using this code (a copy of default action.search without > [results]): > > [form action="?p=action.search&action=search" style="margin-left:10px; > position:absolute; width:110px; display:inline;"][text myquery][submit > SEARCH] > [session search "text='{=myquery}' count='1-25'"] > [session passdata myquery] > [session nextpage {p}&action=search] > [session msg] > [form] > > > > However, since I would like a custom styled input field, and an image > instead of a submit button, I couldn't figure out a way to do this. If > there basically was a way to just include normal html code inside the > form I think it might succeed. I tried using the operator /= =/ to do > this but it just displayed the code as normal text. Also not that I'm > not sure if these session variables are needed for only the search > form. > > [form action="?p=action.search&action=search" style="margin-left:10px; > position:absolute; width:110px; display:inline;"] > /=<input type="text" name="myquery" style="width:80px; height:12px; > border:0px; background-color:#fa3; line-height:0.7em;" /> > <input type="image" src="../boltwire/farm/img/search16.png" > style="float:right; margin-top:3px;" />=/ > [session search "text='{=myquery}' count='1-25'"] > [session passdata myquery] > [session nextpage {p}&action=search] > [session msg] > [form] > > -- > You received this message because you are subscribed to the Google Groups > "BoltWire" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/boltwire?hl=en. > > -- You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/boltwire?hl=en.
