Opened 10 years ago

Last modified 6 years ago

#3264 new enhancement

Provide workflow actions to hold transitions based on form status.

Reported by: Rich Harkins Owned by: Rich Harkins
Priority: normal Component: TracFormsPlugin
Severity: normal Keywords: tracforms-0.3
Cc: Trac Release: 0.10


Add ability to get at information from the forms and hold up progress if certain fields do not contain appropriate values.

Attachments (0)

Change History (3)

comment:1 Changed 10 years ago by Rich Harkins

Type: defectenhancement

comment:2 Changed 10 years ago by Rich Harkins

This should help do some of what is described in #3260.

comment:3 Changed 6 years ago by Steffen Hoffmann

(In [11283]) TracFormsPlugin: Add optional write protection to input fields, refs #3264, #5353, #8715 and #9640.

A new keyword argument '-mode', for now exclusive to tf.input and tf.textarea, with value to choose from the following list:

  • ro - input blocked, like static text, but in non-editable form field
  • rd - same as 'ro', but don't display stored value but default instead
  • rw - regular input behavior at all times (default)
  • once - initially 'rw', but blocked ('ro') after first form submission

It's an optional argument, retaining full backwards-compatibility with existing field definitions by choosing -mode=rw as implicit default.

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Rich Harkins.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.