• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Add ability to customize options in FormBuilder
PostPosted: Wed Nov 06, 2019 1:42 am 
Offline
New Member
New Member

Joined: Tue Jul 16, 2019 8:38 pm
Posts: 5
I have a contact form that also configures various layered images depending on the options selected i.e. you pick "red" from a pulldown field and it selects a red image.

The problem is that I also need to change the background color of the "Red" option in the pulldown field, to red (obviously). Alternatively just adding a small red block next to the "Red" option would also work.

Problem is FormBuilder doesn't seem to allow you to customize each pulldown option. Is there a way to do this?


For reference, I'm using an array to switch the images:
\$1:
<__script__>
var imageList = Array();
for (var i = 1; i <= 24; i++) {
    imageList[i] = new Image(70, 70);
    imageList[i].src = "img/rescue-paramedic/R6C/R6C-3-Shell-" + i + ".png";
}

function switchImage(elem) {
    var selectedImage = elem.value;
    document.shellImage.src = imageList[selectedImage].src;
}</__script>

<img src="img/rescue-paramedic/R6C/R6C-3-Shell-1.png" border="0" width="120%" height="inherit" orgWidth="561" orgHeight="470" name="shellImage" style="max-width: 500px; position: absolute; left: 0; top: 1rem; z-index: 25;"/>


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: DIGI3, googlebot


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting