Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
1
vote
Why are my QuickForm checkboxes always ticked, in postProcess()?
I always use the setDefaultValues() to add values to my form fields and boxes, like so:
function setDefaultValues() {
$defaults = array();
foreach ($this->_monthlyPattern as $number => $perce …
3
votes
Quickform Types Definitions or Examples
I usually find more detailed examples by looking in the CiviCRM code, which is exactly where I found the answer to the " i do not want time" question a while ago :-)
As I found it I can share it with …
0
votes
Adding validation: cannot use $this in formRule() of Form
First of all, I get the idea that you are actually modifying CiviCRM core code in your installation? If so, I would sincerely advise you NOT to do this but create an extension to customize what you ne …
0
votes
Adding and storing form fields
As Jitendra explained you can use the postProcess hook and the $form parameter. The submitted values will be in an array $form->_submitValues.
2
votes
Editing a label in "new individual" form
You already had many answers how to. I will make a recommendation: create a custom field rather than manipulate a core CiviCRM field? It will be easier to maintain if fields change in updates of CiviC …