Personal tools
You are here: Home Leocornus leocornus.tracclient Ticket and comment edit form

Ticket and comment edit form

Form Action?

All the forms will seat on the ticket details page. The form action will be PHP_SELF, it should like the following:

<form action="<?php echo $_SERVER['PHP_SELF'];?>">
  ...
</form>

The PHP_SELF does NOT work fine for WordPress Page.

To use self page as the form action, just leave the action attribute empty. Check the following:

<form method="post" name="form-name">
  ...
</form>

TODOs

  • for milestone select/option, group by due day: running, closed
  • for version select/option, group by release date: released and running

List of functions for build forms

wptc_widget_ticket_form wptc_widget_comment_form wptc_widget_action_form

both action will be handled by the ticket details page template

New Ticket Input Form

There is a little different from the modify ticket form. there should be more field:

  • reporter, autocomplete field, could be report for other person
  • owner, autocomplete field, pick up a owner at very beginning.

Tracking History

When Who What Done
2013-02-01 09:18 Sean Chen r3fd09b8, ticket creation page using the sample template for ticket update.
-- 4.0 Hours, 100.0% Done
2013-01-27 07:36 Sean Chen get ready all 3 forms: ticket properties, comment, and actions form. pending access control and new ticket creation logic.
-- 2.0 Hours, 80.0% Done
Document Actions