Read the documentation again:
Having one of the days. How do I style eforms? Link to a new style sheet. Where do I define this? I’ve read the documentation but could not find anything and I was looking at the sample form included with a new install and see that the &cssStyle=`ContactStyles` is defined in the contact page but I’ve not found ContactStyles. Is it possible to just link to a new stylesheet for my eForm?
thanks,
&cssStyle (optional)
Adds a style declaration to the <head> section of the page when either the form is displayed or the thank you page is displayed (only if the &thankyou parameter is set). Values can be a document id (numeric), chunk name or (relative or absolute) url to css file. Multiple values can be separated by a comma (in fact all three values can be mixed).
examples:
[!eForm &cssStyle=`assets/site/forms.css,chunkName` ... !]
[!eForm &cssStyle=`chunkName` ... !]
[!eForm &cssStyle=`http://mysite.com/assets/styles/forms.css` ... !]
Chunks (and documents if a doc id is given) can return a values in the form of:
1. an inline style block, eg. <style type="text/css">/*some styles*/</style>
2. a link to stylesheet(s), eg. <link href="assets/site/forms.css" rel="stylesheet" type="text/css">
3. a comma separated list of urls, eg. assets/site/forms.css,assets/site/more.css,assets/site/gone_overboard.css
[!eForm? &formid=`jobRequest` &subject=`Status request for [+jobnumber+]` &tpl=`requestForm` &report=`requestReport` to =`[email protected]`!]there is a "&" missing at "to =`[email protected]`".
Hi all,
I just moved my build site from one host to another. I also upgraded from modx 9.61 to 9.61 p2.
When someone submits a form on this page: http://www.thechickenbox.com/index.php?id=59 they get this error message: Main mail: Mailer was unable to send mailCould not instantiate mail function.
The form worked on my old host and doesn’t work on the new one. On my new host i have mail forwarders set up so that emails sent to [email protected] go to [email protected].
Any Help to get this set up will be much appreciated.
Noah
This discussion is closed to further replies. Keep calm and carry on.