Nested [e2pdf-format-output]?
-
in my formidable pro form i have a field value (type checkbox with images) with html and it looks just fine everywhere:
<div><strong>ALVA Lounge</strong><br>20-60 Personen<br><br>600 € Raummiete<br>zzgl. Nebenkosten</div> <div><strong>Lichtermeer</strong><br>40-120 Personen<br><br>1.000€ Raummiete<br>zzgl. Nebenkosten</div> <div><strong>Panorama Lounge</strong><br>50-120 Personen<br><br> 1.200€ Raummiete<br>zzgl. Nebenkosten</div> <div><strong>Gro?es Theater</strong><br>60-160 Personen<br><br>1.000€ Raummiete<br>zzgl.</div>
the challenge is to output it in e2pdf template this way:
ALVA Lounge, Lichtermeer, Panorama Lounge, Gro?es Theater
what i have managed so far is this:
[e2pdf-format-output search="<br>" replace=" " filter="strip_tags,html_entity_decode"][220][/e2pdf-format-output]
this will generated this output:
ALVA Lounge 20-60 Personen 600 € Raummiete zzgl. Nebenkosten
Lichtermeer 40-120 Personen 1.000€ Raummiete zzgl. Nebenkosten
Panorama Lounge 50-120 Personen 1.200€ Raummiete zzgl. Nebenkosten
Gro?es Theater 60-160 Personen 1.000€ Raummiete zzgl. Nebenkostenso i get each value in a separate line where the title is bold. bold is fine. now i need to get rid of everything after that and then put everything in one line to achieve this goal (once again):
ALVA Lounge, Lichtermeer, Panorama Lounge, Gro?es Theater
my approach was something like this:
[e2pdf-format-output search="<br>" replace=" " filter="strip_tags,html_entity_decode" explode="<strong>" implode=", "][220][/e2pdf-format-output]
but it does not work. also tried this:
[e2pdf-format-output explode="</strong>" implode=", "][e2pdf-format-output search="<br>" replace=" " filter="strip_tags,html_entity_decode"][220][/e2pdf-format-output][/e2pdf-format-output]
it is not working neither ??just for your information how it looks in the frontend form:
- The topic ‘Nested [e2pdf-format-output]?’ is closed to new replies.