Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  

-- 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
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2009-04-22 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.