2

I've downloaded the developer version of the Web app builder and installed in on my machine. I can open up the widget '\LayerList\LayerListView.js', and I have been exploring the source code.

I would like to be able to modify the code in order to have a combination of both radio buttons, and check boxes. I am fairly new to javascript programming, so my knowledge doesn't go much beyond being able to copy / paste and hack basic code.

Functionality needed:

  • By clicking a check box, it will enable or disable a map service
  • By clicking a radio button, it will enable a map service, while turning off other map services that are also exposed as radio buttons.

closed as off-topic by PolyGeo Aug 15 '16 at 11:51

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking help to debug/write/improve code must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Providing a clear problem statement and evidence of a code attempt will help others to help you. See: How to create a Minimal, Complete, and Verifiable example." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Did you ever get an answer to this question? I'm in the same boat and looking to do the same thing but am having difficulty finding any documentation. – user52676 May 26 '15 at 15:36
  • This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. – John Powell May 26 '15 at 16:00
-1

It looks like you have to play with JSON file. This link might be of some help: https://geonet.esri.com/thread/126201

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

  • 3
    Don't just include a link, write some explanation that makes your answer complete and reasonably self-contained. What does one have to do to the JSON? – Richard Law Feb 17 '16 at 18:48
  • 1
    I agree with @RichardLaw, unfortunately this comment doesn't help in the slightest with regards to the question on radio buttons – Stephen Lead Jun 2 '16 at 4:00

Not the answer you're looking for? Browse other questions tagged or ask your own question.