Ghostflasher
Forum Replies Created
-
Forum: Plugins
In reply to: [Participants Database] timezone problemthx!
Forum: Plugins
In reply to: [Participants Database] send link text not changeablethx, worked like a charm!
Forum: Plugins
In reply to: [Participants Database] selective form validationsorry, formating got messed up
Forum: Plugins
In reply to: [Participants Database] selective form validationHow can I let a fields validation pass, when another field is checked?
e.g.
if( $field->name === 'field_a') {
if( $field->value == ‘yes’ ) {
/* code to set field_b->error_type = 'valid'
}
`}Forum: Plugins
In reply to: [Participants Database] selective form validationThank you! I’ll check it out tomorrow morning!
Forum: Plugins
In reply to: [Participants Database] selective form validationHi,
thanks for your reply. I checkt the API but don’t understand to use it actually. Do u have an examplecode for “pdb-before_validate_field”?
best regards
danForum: Plugins
In reply to: [Participants Database] checkboxes not checked anymore after validation errorDoing nothing to it. Just reading it out.
$x = $_POST['something'];
or
print_r($_POST);
Forum: Plugins
In reply to: [Participants Database] checkboxes not checked anymore after validation errorsorry, that is what I use. I copied the wrong function in my first post (label instead of form_element).
Here is an example:
`<div class=”inline-block”><?php $this_form->print_form_element(‘field1’); ?></div>
<label class=”control-label inline-block”><?php $this_form->print_title(‘field1’); ?></label>Forum: Plugins
In reply to: [Participants Database] checkboxes not checked anymore after validation errorThe value is just “yes” and it is not required.
Forum: Plugins
In reply to: [Participants Database] Change fieldgroup of a field leads to loosing datasorry, was my mistake. I use a custom template with the groups=”…” and i miss spelled this group there. thanks for the hint!
Forum: Plugins
In reply to: [Participants Database] radio buttons/otherresolved
Forum: Plugins
In reply to: [Participants Database] radio buttons/otherok, never mind. a update from 2.6.5 to 2.6.8 solved the issue.
Forum: Plugins
In reply to: [Participants Database] empty fields after signup errorhey xnau,
sorry I didn’t reply that long. Had a lot of other stuff going on. The data is in the $_Post.
I can retriev it e.g. by using:echo $_POST[first_name];
My custom from uses the plugins functions to draw the form:
<label class="control-label" for="pdb-first_name" >Vorname<span class="reqd">*</span></label> <div class="controls"><?php $this_form->print_form_element('first_name'); ?> </div>
Just the value are not displayed in the fields after an error (e.g. not all required field are completed)
Now…. how can I “inject” the $_POST data into your form element function?thx
danForum: Plugins
In reply to: [Participants Database] empty fields after signup errorHey xnau,
like i wrote: I use a custom signup form. No acceleration service.
Cheers
DanForum: Plugins
In reply to: [Participants Database] Let users delete their recordnevermind… should check the docs next time… sorry