Opened 8 years ago

Last modified 4 years ago

#3264 new enhancement

Provide workflow actions to hold transitions based on form status.

Reported by: rharkins Owned by: rharkins
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 8 years ago by rharkins

  • Type changed from defect to enhancement

comment:2 Changed 8 years ago by rharkins

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

comment:3 Changed 4 years ago by hasienda

(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.

Add Comment

Modify Ticket

as new The owner will remain rharkins.

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

Note: See TracTickets for help on using tickets.