[html-formfu] Add link to form

Carl Franks fireartist at gmail.com
Wed Nov 28 18:13:54 GMT 2007


On 28/11/2007, kewei xiao <kewei.xiao at nald.ca> wrote:
> Hi Carl
>
>      I am trying to add a link on my form, so people can click on "View
> Map" to link to google map when they want to, since this is just a text
> phrase with link not button, so I am not quite sure how this can be
> done.  Please advise, Thanks

Hi,
I think this should work:

    element:
      - type: Block
        tag: a
        content: 'View Map'
        attrs_xml:
          href: 'http://maps.google.com?xyz'



More information about the HTML-FormFu mailing list