Wednesday, September 17, 2008, 8:36:04 AM, Graham Archer wrote:
> In the input form I have ...
> (:input hidden RowNumber '{$$(add {$:RowNumber} 1)}':)
> (:input text name=$:firstname :)
> (:joined:{$:firstname}{$:RowNumber}:)
> (:input hidden {$:joined} :)
> This outputs freda14 to the page on submitting the entry to the table.
Try this in the form:
(:input hidden RowNumber '{$$(add {$:RowNumber} 1)}':)
(:input text firstname :)
(:input hidden joined {$$firstname}{$$Rownumber}:)
and in the form template to post a PTV named 'joined' with the value
of firstname plus row id
(:joined: {$$joined}:)
and in you edit form to edit this PTV:
(:input text name=$:joined :)
Basically (:joined:{$:firstname}{$:RowNumber}:) from your form does
not get posted.
~Hans
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users