Reset hidden optional field

  • Guy Bournival
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 2 months ago - 8 years 2 months ago #78505 by Guy Bournival
Reset hidden optional field was created by Guy Bournival
The case : The user select an option (Montagne) with optionals fields (options additionnelles and niveau habilete). See lower left rectangle. But the user change is mind and select Route option. So, optionals fields are hidden...

The problem is on the Registrant manager. The red arrow show the result. It should be the green arrow result.

Optional fields are not 'reset' when they are hidden. Is it possible to reset unselected optional fields?

joomdonation.com/media/kunena/attachments/123272/Bug.png
Attachments:
Last edit: 8 years 2 months ago by Guy Bournival. Reason: insert image

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

More
8 years 1 month ago #78554 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Reset hidden optional field
Hi Guy

Before I check the issue, could you please first upgrading your site to latest version 2.4.1 and check it again first? The extension didn't support custom fields dependency in backend registrants management, and I only added support for it recently

That might be the reason causing the issue

Regards,

Tuan

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

  • Guy Bournival
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 1 month ago #78580 by Guy Bournival
Replied by Guy Bournival on topic Reset hidden optional field
Good news and bad news...

I upgrade to latest version.

The good news :
On registrants back-side : it work well and hidden fields are not presented now; It's more better!

The bad news :
On Export registration, the problem is still there. Hidden fields are not reset...

Guy

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

More
8 years 1 month ago #78602 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Reset hidden optional field
Hi Guy

That's quite difficult to handle at the moment, sorry. I will have to review the code carefully to fix the issue. Basically, we should not save data for a custom fields if it is hided

I don't think I can update the package with a hot fix. Need to have time to review this carefully to avoid making existing features broken. I will leave it to the next release 2.4.2. Hope that's OK for you

Regards,

Tuan

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

  • Guy Bournival
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 1 month ago #78631 by Guy Bournival
Replied by Guy Bournival on topic Reset hidden optional field
No problem!

We could survive by doing some data epuration on csv file before using it.

Thanks
Guy

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

Moderators: Tuan Pham Ngoc