Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image-map appearance for select and select multiple #490

Closed
lognaturel opened this issue Feb 5, 2018 · 4 comments · Fixed by #577
Closed

image-map appearance for select and select multiple #490

lognaturel opened this issue Feb 5, 2018 · 4 comments · Fixed by #577

Comments

@lognaturel
Copy link
Member

Will be available in Collect 1.13+. See code and sample forms at getodk/collect#1807

@adammichaelwood
Copy link
Contributor

There was a mention in slack about someone putting together a nice example for this. Is that available?

@lognaturel
Copy link
Member Author

@grzesiek2010 has a great one at https://github.com/opendatakit/sample-forms/blob/master/body.xml (there's also a body-media folder)

@adammichaelwood
Copy link
Contributor

my assumptions on looking at this are:

  • the image map has to be an svg
  • the sections to be clicked need to be elements in the svg file
  • the id of the elements to be selected need to correspond to the value of answer choices

Is that about right?

@lognaturel
Copy link
Member Author

That's right. More at getodk/xforms-spec#108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants