Labels in the mail message

Home Forums Quform PHP Labels in the mail message

This topic is: resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6274
    cruxy
    Participant

    Hello,

    On the message I want only something like that:

    Name: Lionel

    To get Lionel I am using the following code:

    <?php echo $form->getElement('name')->getFormattedValue('html'); ?>

    How can I get the LABEL Name?

    I tried this code, but I got an error:


    <?php echo $form->getLabel('name')->getFormattedValue('html'); ?>

    Thanks in advance,
    Cruxy

    #6294
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #6316
    cruxy
    Participant

    Thank you very much Ally:)

    It works perfect.

    Have a nice day,
    Cruxy

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy