[pmwiki-users] PmForm RSVP Form - Radio button issue

Petko Yotov 5ko at 5ko.fr
Tue Jul 8 13:28:45 CDT 2014


Criss Ittermann writes:
> I've tried several ways to get the radio button (for "Yes" or "I'll be  
> there.") selected automatically in the RSVP form I posted on PmForm.
>
> I tried selected, selected=selected, selected=1.  I also tried using an input  
> default.  i'm not seeing the "selected" option being sent to the HTML.

> (:input radio anchor selected=selected "I'll be there." :) Yes

Radio buttons and checkboxes are checked with the "checked" attribute:

  (:input radio anchor "I'll be there." checked=checked:)


To learn more look into any HTML reference, for example:

  https://developer.mozilla.org/en/docs/Web/HTML/Element/Input
  http://www.w3schools.com/tags/tag_input.asp

Petko




More information about the pmwiki-users mailing list