How can I define a link to a web page in my form?

Hi Andrew,

We do have Markdown support for URLs in 1.4.10, but there is a bug
disables the link so you can't tap on it. I fixed that bug a few weeks
back and it will be in the next release.

is the patch.

In the meanwhile, you use type=string, appearance=url, and
default=http://example.com if you need a URL button that you can
click. We added this feature years ago, but it wasn't publicized. ODK
Collect has a couple of these little tricks that I've been meaning to
document...

I've attached a sample form.

Yaw

url.xlsx (10.5 KB)

url.xml (993 Bytes)

ยทยทยท -- Need ODK consultants? Nafundi provides form design, server setup, in-field training, and software development for ODK. Go to https://nafundi.com to get started.

On Wed, Jun 1, 2016 at 9:56 AM, Andrew acawood777@gmail.com wrote:

Hi Imran,

This is just something to try - haven't tried it myself:
Collect now supports Markdown for text formatting (see post here)

There are several ways of displaying links:
https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#links

Perhaps try one of those. e.g:

Please click here

I'm not sure if XLSForm supports this - check the xml file and modify there
if needed.

ODK Team, can you confirm whether Collect will display Markdown links?

Thanks,
Andrew

On Tuesday, 31 May 2016 19:52:56 UTC+2, A.N.M AL-IMRAN wrote:

Hi All,

I am trying to add hyperlink to one of my ODK form, how do I add
hyperlink?

Thanks
Imran

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

1 Like