Your opinion to this page?
Deutsch Deutsch English English

Settings of MPForm <<    ^ CMS module: MPForm (Homepage of the module) ^  

Frequently asked questions regarding MPForm

Question: Website Baker already comes with the Form module, so why should I install MPForm?
Answer: You should install the MPForm module only if you reached the functional limit of the Form module. MPForm offers much more potential, but it requires a larger learning curve.
Question: My form contains a Date field. When I click the calendar icon next the field, no calendar does pop up?
Answer: The Javascript Calendar comes with a known bug: If the Mainbody style uses absolute positioning and a Z-Index, the Calendar is positioned behind instead of in front of the main window. You just need to adapt the screen.css file of your template and all will work. Please drop me a line just in case you found the JS bug!
Question: How can I integrate a declaration of consent (or my terms and conditions) into the form?
Answer: You can use a field of type HTML for arbitrary HTML code. When you put a single mandatory checkbox beneath this field, the user can only submit the form after he agreed to your conditions. In the Download area you find the form Contact form english with approval. Just copy it onto your site and customise it according to your needs. einv
Question: Is it possible to preset a field dynamically, depending on some conditions?
Answer: Yes, you just need to set the right SESSION variable before the form is generated:
  1. Learn the ID of the field and the section_id of the form (look, for instance, into the field properties in the backend)
  2. Write your code in the file private.php into the function private_function_before_new_form. For the field with ID 42 in the form of section 24 you would write e.g.
    if ($section_id == 24) { $_SESSION['field42'] = "blah blah"; return true; }
It might make sense to set the status of the field to read only.
In case you have a multi select field, you write:
$_SESSION['field42']=array('one','two');
Question: I get a Fatal error: "Call to a member function numRows() on a non-object in \modules\mpform\evalform.php on line 533" - What does this mean?
Answer:You probably changed the suffix of the results table after you created the first field of the form, which is a no-no, as you should have read in the documentation.
Question: ?
Answer:
Question: ?
Answer:
Question: ?
Answer: