[pmwiki-users] Using Foxedit in a table

Hans design5 at softflow.co.uk
Wed Sep 17 02:54:49 CDT 2008

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.


More information about the pmwiki-users mailing list