カスタム フィールドの表示(オーダーフォーム)

  • Posts: 44
  • Thank you received: 0
5 years 3 months ago #302001

-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.7.5
-- PHP version -- : 7.2.6

Hikashop BusinessをV3.2.0からV4.0.1へ移行予定です。
テストサイト(https://uniknot.xsrv.jp)でV4.0.1環境を作った処、添付ファイルの問題がでました。
図の V3.2.0のオーダーフォームでは、青枠A&Bのフィールドは、①、及び②が”申し込む”で選択されたケースに必須入力となる従属フィールドとして、カスタムフィールドに登録しています。

問題は、V4.0.1ではオーダーフォームが初期表示される時点では、青枠A&Bの各フィールドが表示されず、ユーザーがその存在に気づかずページを進める動きをしてします結果となる事です。(V3.2.0では初期表示されます)

ここで、①、及び②のカスタムフィールド(チェックボックス)は、必須入力で初期値は”申し込む”として定義してあります。

ユーザーがページを進めようとすると、図の右下のエラーが表示されますが、おそらく(表示されてない項目に関する注記の為)ユーザーはそのエラーが理解できないと思われます。

V3.2.0のように、青枠A&Bのフィールドを初期表示する事は可能ですか?
もしくは、①、及び②のチェックボックスを初期表示ではいずれも選択されてないモードで表示する事は可能ですか?
他の、問題解決方法があれば、アドバイス下さい。

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
5 years 3 months ago #302007

Hi,

From what I can see, there is a javascript error on your website pages:
monosnap.com/file/6zx3lSfahKylbIU0WQ6INX9zEpQedl
It apparently comes from the fsf component's accordion system.
Because of that, it prevents the javascript of the custom fields to initialize properly when the page is loaded. That's why it doesn't work when the page loads, but then it works fine if you change the radios yourself once the page is loaded.
So I guess you'll have to check with the developer of that fsf extension.

Please Log in or Create an account to join the conversation.

Time to create page: 0.084 seconds
Powered by Kunena Forum