This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 3
Adding image to Selection Box
Started 11 years ago by chrishawkins | 6 posts |
-
Hi there, one of my forms will be used for separate branches within my company, each branch has a unique logo that represents the local area it is based in.
Upon loading the form they have to select their branch from a drop down list and I thought it would be nice to show their insignia (so to speak) to the right of the selection box, or if possible up in the header below the header image.
Are either of these methods possible at all?
Many thanks
Chris
Posted 11 years ago # -
I just tried adding HTML code for an image to the drop down selection box, but it doesn't work. Probably no way around it due to the nature of that particular HTML element.
Depending on how many you have, you can do it with radio buttons. Just add the
<img src=".....">
HTML to the radio button value box in the field properties. It would have to be a rather small icon/image to avoid over-crowding it. You need to use the full, absolute URL of the image residing on your web server.You can insert any HTML into the form title, heading/sub heading or section break type fields, as well as many of the form-fields. The drop-down box seems to be the exception.
Posted 11 years ago # -
Hmm I guess the radio buttons thing could work, Il investigate that, thanks for the reply.
Posted 11 years ago # -
If you don't have too many branches, you could create a hidden section break for each branch and put the insignia for each branch in one of the section breaks with HTML code. Then use logic to show the appropriate section break when a branch is selected. See an example at
http://site.beautifulsaviour.org/forms/view.php?id=32Posted 11 years ago # -
@DaveVoss: Nice one! I may use that some time. Thanks.
Posted 11 years ago # -
Very nice suggestion there, il have to have a quick look about how to use HTML code in forms, but that will work, brilliant :)
Posted 11 years ago #
Reply
You must log in to post.