This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
How to remove HTML from excel column names
Started 15 years ago by matt960 | 4 posts |
-
Hi,
In order to customise the field labels and choice of some checkboxes I have on my form, I have entered some HTML (span tags) into the field properties inputs.
When I export the entries as an excel file the raw HTML shows in the column names along with the field name. Is there a way to hide just the extra HTML tags i have put in when the excel file is exported?
Thanks for any help..
MattPosted 15 years ago # -
**revised**
Hi Matt,
Try to edit "export_entries.php" file and go around line 341, in there you will see this code :
$worksheet->write(0, $i, $label,$format_bold);
then replace with this one
$worksheet->write(0, $i, strip_tags($label),$format_bold);
MachForm Support
Posted 15 years ago # -
Thanks for the reply,
It works perfectly, though I think you meant to say 'edit export_entries.php' ;-)I just got started with this app yesterday and would like to say thanks for the amazing support!
MattPosted 15 years ago # -
Ups sorry.. I've put the wrong file name .. Yes it should "export-entries.php" and I've revise my code :) .
Thank's Matt..
MachForm Support
Posted 15 years ago #
Reply
You must log in to post.