Forum Replies Created

Viewing 15 posts - 46 through 60 (of 119 total)
  • Author
    Posts
  • in reply to: Relocate Description Text #7994
    josef777
    Participant

    John

    I understand that many don’t want to post their homepage but without seeing your form it’s hard to give exact solution , try the following :


    p.iphorm-description {
    position: relative;
    top: -5em;
    }

    you need to adjust the label margin-bottom to make it nicely fit under it !

    I hope this helps !

    • This reply was modified 11 years, 4 months ago by josef777.
    in reply to: Remove empty fields from customize email content. #7993
    josef777
    Participant

    1- it’s up to you but it doesn’t matter how many sections or fields you have or whether they have conditional logic or not , the above files will hide empty fields and email what been selected .

    2- (#7985) You have to wait for Ally , my php is very limited 🙂

    in reply to: Agreement Popup before submitting form #7991
    josef777
    Participant
    in reply to: mutliple selections #7990
    josef777
    Participant

    Yes , it is possible with checkboxes !

    in reply to: Remove empty fields from customize email content. #7988
    josef777
    Participant

    Yaniv

    Do the following because you are doing it the hard way :

    see the following guides

    Custom autoreply content

    Custom email content

    1-open autoreply-content.php and Modify iphorm_1_2 and iphorm_1_1 to the ids from your form (those are Title and Name in my form ) and edit the text at the top to whatever you wish , do not do anything to the rest of the code (it’s from email-html.php, just changed the style).

    2- Follow the guides above for the functions.php

    Now go and test it !

    autoreply-content.php
    Dear <?php echo $form->getValueHtml('iphorm_1_2'); ?> <?php echo $form->getValueHtml('iphorm_1_1'); ?><br /><br />

    below is your submission to your company , thank you in advance and we will get in touch with you shortly .<br /><br />

    Best Regards<br />
    Your Company<br /><br />

    Phone : +43 000 000 000<br />
    Email : office@yourdomain.com<br />
    Website: http://yourdomain.com<br />
    --------------------------------------<br />

    <table width="600" cellpadding="0" cellspacing="0" border="0" style="font: 14px Helvetica, Arial, sans-serif;">
    <tr>
    <td valign="top" style="font-family: Helvetica, Arial, sans-serif; font-size: 20px; font-weight: bold; color: #282828; padding-bottom: 10px;"><?php echo esc_html($mailer->Subject); ?></td>
    </tr>
    <tr>
    <td valign="top"><table width="100%" border="0" cellpadding="2" cellspacing="0" style="border-collapse:collapse;">
    <?php
    $elements = $form->getElements();
    foreach ($elements as $element) : ?>
    <?php if (!$element->isHidden() && (!$element->isEmpty() || ($element->isEmpty() && $form->getNotificationShowEmptyFields()))) : ?>
    <?php if ($element instanceof iPhorm_Element_Groupstart) : ?>
    <?php if ($element->getShowNameInEmail() && strlen($adminTitle = $element->getAdminTitle())) : ?>
    <tr>
    <td colspan="2" valign="top" style="border: 1px solid #F0F0F0;font-family: Helvetica, Arial, sans-serif; font-size: 16px; font-weight: bold; color: #282828; padding-top: 15px; padding-bottom: 10px;"><?php echo esc_html($adminTitle); ?></td>
    </tr>
    <?php endif; ?>
    <?php else : ?>
    <tr>
    <th scope="row" style="font-size: 12px;border: 1px solid #F0F0F0;padding: 10px;text-align: left;vertical-align: top;width: 150px;"><?php echo esc_html($element->getAdminLabel()); ?></th>
    <td style="border: 1px solid #F0F0F0;font-size: 12px;line-height: 20px;margin-bottom: 9px;padding: 8px 10px;">
    <?php echo $element->getValueHtml(); ?>
    </td>
    </tr>
    <?php endif; ?>
    <?php endif; ?>
    <?php endforeach; ?>
    </table></td>
    </tr>
    </table>

    email-content.php
    <?php if (!defined('IPHORM_VERSION')) exit; ?><html>
    <body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">
    <table width="600" cellpadding="0" cellspacing="0" border="0" style="font: 14px Helvetica, Arial, sans-serif;">
    <tr>
    <td valign="top" style="font-family: Helvetica, Arial, sans-serif; font-size: 20px; font-weight: bold; color: #282828; padding-bottom: 10px;"><?php echo esc_html($mailer->Subject); ?></td>
    </tr>
    <tr>
    <td valign="top"><table width="100%" border="0" cellpadding="2" cellspacing="0" style="border-collapse:collapse;">
    <?php
    $elements = $form->getElements();
    foreach ($elements as $element) : ?>
    <?php if (!$element->isHidden() && (!$element->isEmpty() || ($element->isEmpty() && $form->getNotificationShowEmptyFields()))) : ?>
    <?php if ($element instanceof iPhorm_Element_Groupstart) : ?>
    <?php if ($element->getShowNameInEmail() && strlen($adminTitle = $element->getAdminTitle())) : ?>
    <tr>
    <td colspan="2" valign="top" style="border: 1px solid #F0F0F0;font-family: Helvetica, Arial, sans-serif; font-size: 16px; font-weight: bold; color: #282828; padding-top: 15px; padding-bottom: 10px;"><?php echo esc_html($adminTitle); ?></td>
    </tr>
    <?php endif; ?>
    <?php else : ?>
    <tr>
    <th scope="row" style="font-size: 12px;border: 1px solid #F0F0F0;padding: 10px;text-align: left;vertical-align: top;width: 150px;"><?php echo esc_html($element->getAdminLabel()); ?></th>
    <td style="border: 1px solid #F0F0F0;font-size: 12px;line-height: 20px;margin-bottom: 9px;padding: 8px 10px;">
    <?php echo $element->getValueHtml(); ?>
    </td>
    </tr>
    <?php endif; ?>
    <?php endif; ?>
    <?php endforeach; ?>
    </table></td>
    </tr>
    </table>
    </body>
    </html>

    • This reply was modified 11 years, 4 months ago by josef777.
    in reply to: FireFox Widget Size Problem #7982
    josef777
    Participant

    Looks like you fixed it , right ? because both look the same now in firefox and chrome .

    in reply to: STYLING OF 'FIELD REQUIRED AREA' URGENT #7981
    josef777
    Participant

    The CSS that controls the field is iphorm-error change or add to the following whatever you like , but without seeing your form it won’t be much Help .

    .iphorm-error {
    background:none!important;
    color:#f00!important;
    background-color:#efefef!important;
    }

    in reply to: Input focus text colour #7974
    josef777
    Participant

    Sam
    post a url will give you the exact solution

    in reply to: Input focus text colour #7972
    josef777
    Participant

    Put the following in your CSS file and play with the colors


    input[type=text]:focus {
    background: none!important;
    background-color: #f00!important;
    color: #fff!important;
    }

    in reply to: Email Default Form Data #7272
    josef777
    Participant

    2 minutes too late 🙂

    in reply to: Email Default Form Data #7271
    josef777
    Participant

    Go to your form >settings>email and look what you have in the email subject , this variable must be there , remove it

    in reply to: Help for making a form like Light, Rounded as in your example. #7199
    josef777
    Participant

    Settings > Style > add a Style at the bottom

    Form outer wrapper

    background-color:#e9e9e9;
    padding:20px;

    element label

    text-shadow: 1px 1px 0 #fff;

    in reply to: Having a background behind the form #7150
    josef777
    Participant

    .iphorm-submit-input-wrap {
    margin-left: 25px;
    }

    in reply to: Having a background behind the form #7148
    josef777
    Participant

    put this in your custom style sheet and play with numbers

    .iphorm-inner {padding-left:10px;max-width:210px;}

    in reply to: Doesnt WOrk #7143
    josef777
    Participant

    Try this first and if it does not help use the search box and search for session_start there are few topics on the subject

    session start errors

Viewing 15 posts - 46 through 60 (of 119 total)
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy