Tags:
create new tag
, view all tags

Question

How do you create forms without the edit window part ? i.e. the topic should just show the form template on it.

This question was already posted some time ago, and the answer was related to EDIT in TWikiScripts

"action Optional. Use the editaction template instead of the standard edit. If action=text, then hide the form. If action=form hide the normal text area and only edit the form"

However, that explanation was not clear enough for me. I'm new at this, and have no experience in programming so if someone could really put it as clear as possible I would really appreciate it.

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Forms

-- JoseDavila - 09 Dec 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

You need to add a action=form to the edit script. You can try it out, I added a "edit my form only" link to your JoseDavila homepage. Here is the raw text:

   * [[%SCRIPTURL{edit}%/%WEB%/%TOPIC%?t=%SERVERTIME{$epoch}%;action=form][edit my form only]]

-- PeterThoeny - 10 Dec 2008

Thank you very much for your help!

-- JoseDavila - 10 Dec 2008

However, another question arrised... is it possible to have only the form since you click "Create Topic"?

-- JoseDavila - 15 Dec 2008

You need to create a custom view template. See TWikiTemplates.

-- PeterThoeny - 15 Dec 2008

 
Change status to:
Topic revision: r5 - 2008-12-15 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.