On Saturday, October 20, 2012 07:02:28 AM Petko Yotov wrote:
> This page may be helpful:
>
> http://www.pmwiki.org/wiki/Cookbook/InputDefault
Thanks, I think this should help.
1. Also can there be support for multiple select,
as suggested in comments on this page.
I tried making some changes to InputToHTML function:
$opt[$checked] = in_array(@$opt['value'],
(array)explode(',',str_replace(' ','', $InputValues[$name])))
? $checked : false;
and was able to see multiple selects.
I hope there are not more changes required for this feature.
2. Have this page also available in documentation(PmWiki).
--
Regards.
V.Krishn
>
> Petko
>
> V.Krishn writes:
> > I wanted to pass any arbitrary set of data to a script:
> > eg:
> > name: xyx
> > birthday: 1,1,2012
> >
> > and return a form with prefilled data, to display(only),
> > It should take care of marking the required select menus as selected for
> > birthday(day, month, year).
> >
> > I am ok with writing an intermediary/wrapper script if required.
> >
> > Went though http://www.pmwiki.org/wiki/Category/Forms but not sure which
> > of them could help me for this purpose.
>
> _______________________________________________
> pmwiki-users mailing list
> [email protected]
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users