Jump to content

Replace value of config option with another


Ragonz

Recommended Posts

I've asked a similar question in the past but thought it may have changed since then. I need to come up with a way to have a user select a location (a configurable option) then that location apply to 2 seperate options within the module we use (this is not the problem)

I need the location to be changed depending on what option its being used for.

 

ie. user selects UK as the location, I need for the first value to be passed to be 1 and the 2nd value to be 2

 

Is there anyway to do this or do I just need to create another configurable option?

Link to comment
Share on other sites

4 hours ago, Ragonz said:

I've asked a similar question in the past but thought it may have changed since then.

how long ago? WHMCS development isn't quick you know. :P

4 hours ago, Ragonz said:

ie. user selects UK as the location, I need for the first value to be passed to be 1 and the 2nd value to be 2

sounds like a job for jQuery... could be tricky though and the code would depend what format these options are (dropdown, sliders etc)...

if you can do it as another config option, then that would be simpler. :idea:

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated