Announcement

Collapse
No announcement yet.

New Contact Form Questions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Matt Zimmermann
    replied
    Try:
    Code:
    <mvt:assign name="l.mail:to" value="'[email protected]'" />

    Leave a comment:


  • jsdva
    replied
    Poop. Updated #1 to
    <mvt:assign name="l.mail:to" value="[email protected]" /> and got the following error:

    Error compiling template: Line 33: Expression compilation failed: Found additional argument '@' while looking for operator

    Leave a comment:


  • Matt Zimmermann
    replied
    1. Only edit that one instance in <mvt:assign name="l.mail:to" value="g.store:email" />
    2. Correct
    3. Correct

    Leave a comment:


  • jsdva
    started a topic New Contact Form Questions

    New Contact Form Questions

    Github says "
    <mvt:comment> <!-- By default, this form is designed to send to the store email address. You can change this by replacing g.store:email with 'my_email@my_domain.com' -->"

    1. Regarding the above: Should I replace every instance of g.store:email with [email protected] within my new CTFMnewpagename page template?

    2. I make no changes to contact.js, correct?

    3. Within CTFMnewpagename, if I want a custom subject, not located in the form, I edit <mvt:assign name="l.mail:subject" value="'[' $ g.store:name $ ' Edit this to insert custom subject line? ' $ g.contactSubject" /> only, correct?
    Last edited by jsdva; 06-10-22, 08:04 AM. Reason: make clear a question
Working...
X