• Resolved macpheek

    (@macpheek)


    Hi, I have a form on this page so users can upload file attachments, however it’s only allowing them to upload jpg files when they used to also be allowed to upload word doc files too..

    I’ve tried deactivating all other plugins and switching themes, also tried creating a new form from scratch, and tried stripping out any limitation rules from the filed such as file size limit or file type. Are you able to help?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Which file uploading field has the problem?

    Thread Starter macpheek

    (@macpheek)

    all of them

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    See Editing form template

    What content do you have in the Form tab panel?

    Thread Starter macpheek

    (@macpheek)

    Hi, here is the form code

    <Label> Have you read our <a href="#guidelines">Guidelines for Parents and Health/Social Care Professional"</a> document?
    [checkbox* single-parent "Yes" "No"]</label>

    Please complete the following application form if you wish to apply to the Pied Piper Appeal “WISH HOLIDAY”
    PROGRAMME.

    [text* childs-name placeholder "Name Of Child"]

    [text* date-of-birth placeholder "D.O.B"]

    [textarea* medical-information placeholder "Medical Condition(s)"]

    [textarea* address placeholder "Address"]

    [text* post-code placeholder "Post Code"]

    [text* school placeholder "School Attended"]

    [text* home-phone placeholder "Home Telephone"]

    [text mobile-phone placeholder "Mobile Telephone"]

    [email* email-address placeholder "Email"]

    <Label> Are You A Single Parent?
    [checkbox* single-parent "Yes" "No"]</label>

    [text* parent1-name placeholder "Name Of Parent"]

    [text* p1-dob placeholder "Parent 1 D.O.B"]

    [group parent-2-group]

    [text* parent2-name placeholder "Name Of Parent"]

    [text* p2-dob placeholder "Parent 2 D.O.B"]

    [/group]

    [textarea* siblings placeholder "Names and D.O.B of all SIBLINGS/immediate family living at the same address. (Please note Pied Piper are only able
    to fund siblings 18yrs or younger and still in full time education)"]

    *where a carer is required, Pied Piper will assess the application on a case by case basis, please email to let this
    known at time of application.

    <label> PLEASE ENCLOSE a small PHOTOGRAPH OF YOUR CHILD. Photo has/ not been sent
    [file* file-875 limit:1048576 filetypes:jpg|jpeg|png|gif]</label>

    <label> A MEDICAL SUPPORT LETTER from a medical professional involved in your child’s care will be needed as an
    IMPORTANT part of the application process.
    [file file-876 limit:1048576]</label>

    <Label> Would you like to attach a letter from parents
    [checkbox* parent-letter "Yes" "No"]</label>
    [group parent-letter-upload]
    [file file-877 limit:1048576]</label>
    [/group]


    [textarea* preferred-dest placeholder "Preferred WISH HOLIDAY DESTINATION"]

    *Pied Piper covers the travel and accommodation package at time of booking.


    <Label> *Would you require an accessible room? Yes/No
    [checkbox* acc-room "Yes" "No"]</label>










    [submit "Submit"]
    Plugin Author Takayuki Miyoshi

    (@takayukister)

    In the first place, none of the file uploading fields in the form allows Word doc files. See File uploading and attachment and set the form-tag options appropriately.

    Thread Starter macpheek

    (@macpheek)

    Hi, I did have file types in here before but it wasn’t working, so I tried removing this as I thought maybe that would allow all files. I’ve updated the code to the below:

    I’ve updated the code and the form has sent now.. perhaps it was a glitch before! I’ll check that the website admin has received it OK

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.