***: ko6yq-lt has joined #twiki
ko6yq-lt has quit IRC (Quit: Leaving.)
PeterThoeny has quit IRC (Quit: PeterThoeny)
_arjen_ has joined #twiki
PeterThoeny has joined #twiki
ChanServ sets mode: +o PeterThoeny
earcanal has joined #twiki earcanal: PeterThoeny: what would I need to do to allow inline editing of form fields on a page other than the page the form is actually attached to (a la the 'State' field in ActionTrackerPlugin)
put another way, I have a search which produces a table containing a date field from a form and I'd like to change the date without having to open the page that has the form attached PeterThoeny: on phone, tty in a bit earcanal: np PeterThoeny: earcanal: you can update a form field of topic b from topic a earcanal: PeterThoeny: can you point me at guidance? PeterThoeny: in topic a create an html form (can be produced by a search format) earcanal: oic
... ish PeterThoeny: <form action="%SCRIPTURL{save}%/%WEB%/TopicB" method="post"> earcanal: so create a form around the date field in each row of the search results (using format="...) PeterThoeny: <input type="text" name="Date" value="..." /> earcanal: ideal PeterThoeny: assuming you have form field Date in TopicB earcanal: is there a page in the TWiki web that docs this kind of stuff? PeterThoeny: yes, you can put that into search format so that you get an input field in each row earcanal: perfect PeterThoeny: you need to " scape the quotes earcanal: ok PeterThoeny: you can add a hidden input field to redirect back to the originating topic after save earcanal: ok PeterThoeny: <input type="hidden" name="redirectto" value="%BASETOPIC%" /> (or the like, check docs)
what kind of app do you create? earcanal: it's CRMish
we have a page per project with an associated form
which records (amongst other things) the stage the project is at in the lifecycle
with 'next action' and a due date
we generate various pages to show (for example) all projects in our sales pipe
and it would be an improvement to modify the next action and due date inline PeterThoeny: ah, nice!
please consider writing a blog post on twiki.org on how you use twiki
you use twiki in the way it is designed
most companies use twiki just as a wiki earcanal: we did that for a long time
I had an epiphany recently
mostly when I bothered to RTFM wrt %SEARCH% ;) PeterThoeny: :-) earcanal: ... and there were inline form fields! thx PeterThoeny PeterThoeny: congrats on improved twiki app! earcanal: tiny change, huge efficiency win ***: PeterThoeny has quit IRC (Quit: PeterThoeny)
PeterThoeny has joined #twiki
ChanServ sets mode: +o PeterThoeny
_arjen_ has quit IRC (Quit: Leaving)
earcanal has quit IRC (Quit: Ex-Chat)