• mayumibk

    (@mayumibk)


    Hello Jules, hope you are well.

    Thanks to your great plugin, I succeeded to build my ideal conditional form. But my form doesn’t work properly ONLY when;
    – containing a bit complicated conditions (like 19 rules. Forms with 2-3 rules works perfect!)
    – submitting form for several times with the same browser (The first submit with secret-mode browser works fine!)
    If that’s the case, clicking “submit” button never stop showing the loading animation and returns 502 error. Here’s the screenshot;
    https://recordit.co/obLd9hZtM9
    However, the content was saved to the DB via Flamingo.

    In case you’ll need to look further into the form / conditions / http headers, I’ve attached these to
    https://notion.so/Shared-with-Jules-1153a2d5fc31416580d2fdac49c9211b

    It’d be great if you help me fix the issue.
    Thanks for your help as always.

    Regards,
    Mayumi

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter mayumibk

    (@mayumibk)

    @jules-colle
    Thank you for your suggest, but I’ve read the common problems, and made sure every fields name are unique.

    <label>業種
      [select biztype include_blank "酪農" "肉牛" "養豚" "養鶏" "養羊" "養馬" "その他"]
    </label>
    [group dairy-group]
      酪農種別
      [checkbox dairy-type use_label_element "ホルスタイン" "ジャージー" "その他"]
      [group dairy-type-other]
        <label>[text dairy-type-other placeholder "種を記載"]</label>
      [/group]
      牛舎構造
      [radio cowhouse use_label_element "つなぎ" "フリーストール" "フリーバーン"]
      <label>1頭あたりの搾乳量
      1日[text milk-quantity]kg</label>
      生産性に関する課題(いくつでも)
      [checkbox dairy-concern use_label_element "乳量が低い" "乳質が悪い" "飼料効率が悪い" "その他"]
      [group group-dairy-quality]
      <div class="dairy-quality">
        <label>生菌数 [number viable-bacteria]万 / m?</label>
        <label>体細胞数 [number cells]万 / m?</label>
        <label>脂肪率 [number fat]%</label>
        <label>蛋白 [number protein]%</label>
      </div>
      [/group]
      [group dairy-concern-other]
        [textarea dairy-concern-textarea placeholder "お悩みの内容をおしえてください"]
      [/group]
    [/group]
    
    [group meat]
      肉牛種別
      [radio meat-pattern use_label_element "和牛" "F1"]
      育成形態
      [radio meat-type use_label_element "繁殖" "肥育" "育成" "一貫"]
      牛舎構造
      [radio meat-house use_label_element "つなぎ" "フリーバーン"]
      <label>出荷月齢
      [number month placeholder "ヶ月"]</label>
      <label>平均枝肉重量
      [number weight placeholder "kg"]</label>
      生産性に関する課題(いくつでも)
      [checkbox meat-concern use_label_element "繁殖成績が悪い" "発育成績が悪い" "枝肉重量が低い" "飼料効率が悪い" "その他"]
      [group group-meat-concern]
        [textarea meat-concern-textarea placeholder "お悩みの内容を教えてください"]
      [/group]
    [/group]
    
    [group pig]
      育成形態
      [radio pig-type use_label_element "子取り" "肥育" "一貫"]
      <label>出荷月齢
      [number pig-month]ヶ月</label>
      <label>FC 値
      [number fc]</label>
      生産性に関する課題(いくつでも)
      [checkbox pig-concern use_label_element "枝肉重量が低い" "飼料効率が悪い" "その他"]
      [group group-pig-concern]
        [textarea pig-concern-textarea placeholder "お悩みの内容を教えてください"]
      [/group]
    [/group]
    
    [group chicken]
      養鶏種別
      [radio chicken-type use_label_element "ブロイラー" "地鶏" "レイヤー"]
      育成形態
      [radio chicken-nurture-type use_label_element "中すう導入" "大すう導入" "一貫"]
      鶏舎構造
      [radio chicken-house use_label_element "ケージ" "平飼い"]
      [group group-broiler]
        生産性に関する課題(いくつでも)
        [checkbox concern-broiler use_label_element "枝肉重量が低い" "飼料効率が悪い" "その他"]
        [group group-broiler-other]
          [textarea layer-concern-textarea placeholder "生産性に関して、お悩みの内容を教えてください"]
        [/group]
      [/group]
      [group layer]
        オールインオールアウト方式の有無
        [radio allin-allout use_label_element "有" "無"]
        生産性に関する課題(いくつでも)
        [checkbox layer-concern use_label_element "排卵数が少ない(ピーク期が少ない)" "卵の状態が悪い" "飼料効率が悪い" "その他"]
        [group group-layer-concern]
          [textarea layer-concern-textarea placeholder "生産性に関して、お悩みの内容を教えてください"]
        [/group]
      [/group]
    [/group]
    
    [group group-other-animal]
      <label>家畜名称
        [text other-animal placeholder "家畜名称"]
      </label>
    [/group]
    
    病気に関する課題(いくつでも)
    [checkbox disease use_label_element "下痢(感染性)" "下痢(非感染性)" "乳房炎" "蹄病" "白血病" "肺炎" "その他感染症" "ビタミンA欠乏症" "その他"]
      [group group-disease-other]
      <label>[text other-disease placeholder "病名を記載"][/group]</label>
    
    自給飼料に関する課題(いくつでも)
    [checkbox feed-concern use_label_element "収量が低い" "サイレージの品質が悪い" "その他"]
      [group feed-concern-other]
        <label>[textarea feed-concern-other placeholder "自給飼料に関して、お悩みの内容を教えてください"]</label>
      [/group]
    
    糞尿?堆肥処理に関する課題(いくつでも)
    [checkbox poop use_label_element "畜舎の悪臭" "労力の負担が大きい" "処理コストが膨大" "オーバーフローをしている" "処分先がない(野積み)" "その他"]
    [group poop-other]
      <label>[textarea poop-other placeholder "糞尿?堆肥処理に関して、お悩みの内容をおしえてください"]</label>
    [/group]
    
    <label>
    合計飼育頭数(羽数)
    [number nums]
    </label>
    
    [submit "Send"]
    Plugin Author Jules Colle

    (@jules-colle)

    Oh sorry, I misread. Well it remains a very puzzling problem. I wish there was a way for me to reproduce the problem..

    Do let me know if your host comes up with some ideas

    Xav73

    (@xav73)

    ras

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Submitting a bit complicated conditional form returns 502 (though saved to DB)’ is closed to new replies.