Custom Fields
Re-Envisioned
Support MB Frontend Submission Image/file field not uploading more than 3 fields

This topic contains 3 replies, has 2 voices, and was last updated by  calpaq 5 months ago.

  • Creator
    Topic
  • #12149

    calpaq
    Participant

    Dear Support,

    I have created a form with over 100 fields so I am using group fields. Within group fields, I am using 1 Image Upload field and 5 file upload fields. When the form is submitted it saves all the fields except 3 file fields (i.e. it saves 1 image upload field and only the 1st and 2nd file fields).

    Note: I tried debugging before save and can see all 6 media fields have values in their respective $_FILE array variable.

    Please help me in this.

    Thanks & Regards,
    Calpaq

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #12178

    Anh Tran
    Keymaster

    Hi Calpaq,

    I think the cause is max_input_vars settings in PHP. Please read this post for solution.

    #12183

    calpaq
    Participant

    Hi Anh,

    Thanks for answering my question quickly, but I have already read the post you linked as an answer and also tried that.

    1) my value for max_input_vars was 1000 and I have increased it to 10000 (before writing the question) checked using phpinfo command.
    2) In my opinion Its not about max_input_vars because then I would have not seen the values of all (6) media files in $_FILES array populated after submit

    Do you have any other suggestions.

    Thanks & Regards,
    Calpaq

    #12198

    calpaq
    Participant

    Hi Anh,
    I have taken out the image fields out of group and kept them independently and the problem got resolved, so I think its related to using file fields in group field.
    Thanks Regards,
    Calpaq

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.