[pmwiki-users] Zap Data Form Extra Vertical White Space -Gemini or PmWiki?

Sivakatirswami katir at hindu.org
Sun Dec 10 21:39:25 CST 2006


No go...table doesn't help. either ZapData, PMwiki or Gemini
is still prepending "<br />" line breaks before  hidden input lines:

<div id='wikitext'>
<form method='post'>
<p><input type='hidden' name='action' value='zap' />
<br /><input type='hidden' name='ZAPkey' value='540853' />
<br /><input type='hidden' name='datapage' value='TODO-{Project}.#' />
</p>
<table ><tr><td  valign='top'>Project:
</td><td  valign='top'><select name=Project>
SNIP///
<br /></select>
</p></td></tr><tr><td  valign='top'>Description:
</td><td  valign='top'><input type='text' name='Description' value='' 
class='inputbox' size='50' />
</td></tr></table>
<p><input type='hidden' name='returnpage' value='Main.ToDoEntry' 
/><input type='hidden' name='savedata' 
value='ID,Project,Owner,Priority,Status,Description,returnpage' />
<br /><input type='submit' value='Submit' class='inputbutton' />
</p></form>

Sivakatirswami
www.himalayanacademy.com

Get Hinduism Today Digital Edition. It's Free!
http://www.hinduismtoday.com/digital/

The Editor wrote:
> That is something to do with how PmWiki processes things.  Here's how
> I set your form up on my machine to get it to look a little better.
> 
> (Or conceivably your skin.  It doesn't do it on mine).
> 
> (:zapdata:)
> (:zapform `Project`Owner`Priority`Status`Description`savedata`datapage` :)
> (:table:)
> (:cellnr:)Project:
> (:cell:)(:select Project:)
> (:option "LandManagement":) Land Management
> (:option "SystemAdmin":) System Admin
> (:option "AjaxInitiative":) Ajax Initiatives
> (:option "AudioLibrary":) Audio Library
> (:option "MailingLists":) Mailing Lists
> (:selectend:)
> (:cellnr:)Owner:
> (:cell:)(:select Owner:)
> (:option "Sivakatirswami":) Sivakatirswami
> (:option "Sadhunathan":) Sadhunathan
> (:option "Andre":) Andre
> (:option Caveman":) Caveman
> (:selectend:)
> (:cellnr:)Priority:
> (:cell:)(:select Priority:)
> (:option "1-Urgent!":) Urgent!
> (:option "2-High":) High
> (:option "3-Medium":) Medium
> (:option "4-Low":) Low
> (:selectend:)
> (:cellnr:)Status:
> (:cell:)(:select Status:)
> (:option "Open":) Open
> (:option "In Progress":) In Progress
> (:option "Pending":) Pending
> (:option "Hold":) Hold
> (:option "Complete":) Complete
> (:selectend:)
> (:cellnr:)Description:
> (:cell:)(:input text Description "{$Description}" size="50":)
> (:tableend:)
> (:input hidden savedata "Project,Owner,Priority,Status,Description":)
> (:input submit value="Submit":)
> (:input hidden datapage "TODO-{Project}.=" :)
> (:zapend:)
> 
> You will notice I put it in tables (table directives) and I eliminated
> the first option from each select box--which just produced a blank
> line in the output.  You will want to put those back in when you get
> the update forms working...
> 
> Oh, I just fixed the ZAPdata bug.  I uploaded it quietly for you to
> PmWiki, as I'm making other changes to accommodate some other users
> and make some minor improvements (shouldn't affect functionality).  If
> you get this email before I release the fuller version, you can start
> playing with the interrim version.  The threading at least is fixed.
> 
> Cheers,
> Caveman
> 




More information about the pmwiki-users mailing list