Question
I created a form on a page with a submit button. The table showing submissions is on the same page also.
Is there a way to skip the Edit page when a "Submit" button is pressed and simply save the page created?
Environment
--
GabeAlatorre - 02 Jul 2004
Answer
This feature is currently under development. See
SaveContentWithoutEdit.
--
LynnwoodBrown - 03 Jul 2004
This is now possible in TWiki 4
Support.HowToCreateTopicWithoutEdit
The save script supports this directly - just replace edit with save in the form.
<form action='%SCRIPTURLPATH{"save"}%/%WEB%' method='post'>
Topic:
<input type="text" name="topic" value="YourNewTopic" />
<input type="hidden" name="templatetopic" value="YourTemplate" />
<input type="hidden" name="onlynewtopic" value="on" />
...
</form>
Thanks to
--
VickiBrown - 27 Dec 2007