Modify

Opened 5 years ago

Last modified 16 months 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

Description

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 5 years ago by rharkins

  • Type changed from defect to enhancement

comment:2 Changed 5 years ago by rharkins

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

comment:3 Changed 16 months 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

Change Properties
<Author field>
Action
as new .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from rharkins. Next status will be 'new'.
The owner will be changed from rharkins to anonymous. Next status will be 'assigned'.
Author


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

 
Note: See TracTickets for help on using tickets.