typo3 - Powermail: Sending only fieldsets with valid fields in it -
we have powermail form huge amount of fieldsets , each fieldset containing 3 fields:
- 1x "typo3 pagecontent" (with reference text&image-element)
- 2x "select box" (drop-down)
the requirement fieldsets sent in @ least 1 valid field.
so managed simple validation "filled/not filled" pipe-solution, means, first item followd pipe | - , if item selected, whole field invalid , not sent. example (selection items):
- none |
- value 1
- value 2
the effect is, when form sent, list filled fields, not-filled-fields missing - that's okay.
here's real problem: if want set title (as text-field) fieldset, can see "article" is, when it's filled, title-field shown when no select-field valid (= not filled).
here's real question: have idea how manage whole fieldset not sent when fields in "not valid" (= not filled).
additional info: tried powermail-conditions - more fearure handle database data via ajax.
i found half solution:
template constant-editor: powermail(43) plugin.powermail.markerall.hidelabel > check
select-values ignored, when "not valid" value pipe | (not "-|" or "...|").
too bad not documented.
Comments
Post a Comment