• Resolved jackomar

    (@jackomar)


    Hello,

    When I export the submissions to csv file it shows nothing, just empty csv file with no records.

    Thanks for your help

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author jasongreen

    (@jasongreen)

    Hi jackomar

    Could you confirm how many submissions there are on the page when clicking the Export button. And also would it be possible to send me the contents of your contact form (Form tab on the edit contact form page) that is displayed on your website so I can try and replicate your set-up.

    Thread Starter jackomar

    (@jackomar)

    Hello,

    There are 20 submission until now coming from two different forms. I also noticed that when using the filter to display only one form submissions, the records disappears along with the filter option itself.
    Here is one of the forms content :

    <div class=”row”>
    <div class=”col-md-4″>
    <div class=”form-group”>
    <label for=”first-name”>First name *</label>
    [text* first-name id:first-name class:form-control]
    </div>
    </div>

    <div class=”col-md-4″>
    <div class=”form-group”>
    <label for=”middle-name”>Middle name *</label>
    [text* middle-name id:middle-name class:form-control]
    </div>
    </div>

    <div class=”col-md-4″>
    <div class=”form-group”>
    <label for=”family-name”>Family name *</label>
    [text* family-name id:family-name class:form-control]
    </div>
    </div>

    <div class=”col-md-6″>
    <div class=”form-group”>
    <label for=”address1″>Address Line 1 *</label>
    [text* address1 id:address1 class:form-control]
    </div>
    </div>

    <div class=”col-md-6″>
    <div class=”form-group”>
    <label for=”address2″>Address Line 2 </label>
    [text address2 id:address2 class:form-control]
    </div>
    </div>

    <div class=”col-md-3″>
    <div class=”form-group”>
    <label for=”city”>City *</label>
    [text* city id:city class:form-control]
    </div>
    </div>

    <div class=”col-md-3″>
    <div class=”form-group”>
    <label for=”state”>Province/State *</label>
    [text* state id:state class:form-control]
    </div>
    </div>

    <div class=”col-md-3″>
    <div class=”form-group”>
    <label for=”zip”>Zip/Post Code *</label>
    [text* zip id:zip class:form-control]
    </div>
    </div>

    <div class=”col-md-3″>
    <div class=”form-group”>
    <label for=”country”>Country *</label>
    [text* country id:country class:form-control]
    </div>
    </div>

    <div class=”col-md-6″>
    <div class=”form-group”>
    <label for=”contact-email”>Your email address *</label>
    [email* your-email id:contact-email class:form-control]
    </div>
    </div>

    <div class=”col-md-3″>
    <div class=”form-group”>
    <label for=”tele”>Tel *</label>
    [tel* tele id:tele class:form-control]
    </div>
    </div>

    <div class=”col-md-3″>
    <div class=”form-group”>
    <label for=”business”>Business Name *</label>
    [text* business id:business class:form-control]
    </div>
    </div>

    <div class=”col-md-6″>
    <div class=”form-group”>
    <label for=”business-type”>Type of Business *</label>
    [text* business-type id:business-type class:form-control]
    </div>
    </div>

    <div class=”col-md-6″>
    <div class=”form-group”>
    <label for=”business-position”>Position in Business *</label>
    [text* business-position id:business-position class:form-control]
    </div>
    </div>

    <div class=”col-md-6″>
    <div class=”form-group”>
    <label for=”membership-type”>Membership Type:</label>
    [radio membership-type id:membership-type default:1 “Member” “Associate” “Honorary” “Affiliate”]
    </div>
    </div>
    <div class=”col-md-12″>
    <div class=”form-group”>
    [submit class:btn class:btn-primary class:btn-lg “Send Application”]
    </div>
    </div>
    </div>

    Thread Starter jackomar

    (@jackomar)

    Hello,

    It has been solved after removing the following search filter from the functions file:
    function SearchFilter($query) {
    if ($query->is_search) {
    $query->set(‘post_type’, ‘post’);
    }
    return $query;
    }

    add_filter(‘pre_get_posts’,’SearchFilter’);

    Many Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Empty CSV file’ is closed to new replies.