Duplicate field not working

  • Profile Image
    CM2008
    Asked on November 26, 2016 at 02:14 PM

    Hello,

    When I click on a field to quickly duplicate it, it doesn't duplicate the field as it is with the changes I have made. It simply duplicates a new field from scratch without the changes to the design.

    What can I do?

    Thanks, Scott.

  • Profile Image
    EltonCris
    Answered on November 26, 2016 at 07:02 PM

    Hi Scott,

    When you mentioned design, are you referring to the CSS codes injected to your form?

    Take note that it depends on how you write your CSS codes. If you are using ID selector (e.g. #input_5), which is unique, it will be applied to a single element only. So even if you will duplicate that field, the style will only affect the original field.

    However, if you are using class selector (e.g .form-textbox), this applies to all text boxes. In other words, creating new text boxes or duplicating text boxes will take the same style.

    Example, in your free review form. You can use the following:

    .form-textbox {

        padding: 11px;

        border-radius: 3px;

        border-color: #c4bcbc;

    }

     

    If you have further questions or if you need further assistance, let us know.