[pmwiki-users] zapdata questions

dso dso at moosoft.com
Sat Dec 2 16:23:56 CST 2006


I am having trouble getting a zapdata form to work.  First is with the
conditional.  The page just shows the conditional instead of evaluating
it.  The second is even without the conditional the dbsearch recipe does
not seem to get the data.  Also, how can set one of the radio buttons to
be selected by default? Thanks for any help!

(:messages:)
(:zapdata:)
(:zapform:)

(:if !equal {$type} '')
(:dbsearch key={$key} type={$type}:)
(:ifend:)

Search for: (:input text key {$key}:){$key}\\
Partial: (:input radio type {$type} value="partial":)
Exact:  (:input radio type {$type} value="exact":)\\

(:input submit value="Search":)
(:zapend:)





More information about the pmwiki-users mailing list