Ticket #7 (closed enhancement: fixed)

Opened 21 months ago

Last modified 17 months ago

Allow override of Form attributes

Reported by: kmeirlaen Owned by: kmeirlaen
Priority: important Milestone: 1.1
Component: QForms Version:
Keywords: Cc:

Description

We should support users altering / adding form attributes.
This includes things like onsubmit, and action parameters.

Attachments

QFormBase.class.php.patch (2.7 kB) - added by kmeirlaen 21 months ago.
fixing problem with emptry array

Change History

Changed 21 months ago by marcosdsanchez

  • milestone set to 1.1.0

Changed 21 months ago by kmeirlaen

deleting patch, it tries to solve the "autocomplete" problem, but we are looking for a SetCustomAttribute?() function within QFormBase

Changed 21 months ago by kmeirlaen

  • owner changed from somebody to kmeirlaen
  • status changed from new to assigned

Changed 21 months ago by alex94040

Kristof - there's a small problem with the patch.

array_merge(): Argument #2 is not an array in includes\qcodo\_core\qform\QFormBase.class.php

$this->strFormAttributeArray = array_merge($this->strFormAttributeArray, $this->strCustomAttributeArray);

Changed 21 months ago by kmeirlaen

fixing problem with emptry array

Changed 21 months ago by kmeirlaen

thanks, fixed!

Changed 21 months ago by kmeirlaen

  • status changed from assigned to in_QA

Changed 21 months ago by alex94040

  • type changed from defect to enhancement

Changed 18 months ago by alex94040

This is ready to be checked in.

Changed 17 months ago by alex94040

  • status changed from in_QA to closed
  • resolution set to fixed

(In [102]) Fixes #7: Allow override of Form attributes. Code by kmeirlaen, reviewed by alex94040.

Note: See TracTickets for help on using tickets.