Skip to main content
Solved

How to reset or clear data when switching between radio buttons.

  • August 19, 2025
  • 4 replies
  • 51 views

Forum|alt.badge.img+1

Hallo,

 

I have a field from which I can toggle between delivery and warehouse

 

Delivery it will display other related address field

delivery

 

Warehouse - will display another fileds and hide the address fields (above)

 

warehouse

 

If I select 'Delivery' and enter some  address information, then switch to 'Warehouse', how can I clear the address information values from the delivery? and vice versa if I switch to Delivery then the value on warehouse will be cleared.

 

I tried to incorporate the clearing of fields  to layout function but it doesn't work

 

Please advice.

 

Thank you

Best answer by Mark_Plaggenborg

@Jheng To change values of fields, you need to put this logic into a “Default” procedure and not in the “Layout” procedure as you did now.

This topic has been closed for replies.

4 replies

@Jheng To change values of fields, you need to put this logic into a “Default” procedure and not in the “Layout” procedure as you did now.


Renée Evertzen
Moderator
Forum|alt.badge.img+4

Thanks Mark! :) 


Forum|alt.badge.img+1
  • Author
  • Vanguard
  • August 22, 2025

Hallo,

 

Is it possible to apply the default in a variant table? when Assigning the default there's no variant table listed.

 

Thank you


Forum|alt.badge.img+17
  • Moderator
  • August 26, 2025

The default value is applied to the subject and all it’s variants. There is currently no option to control the default based on the variant. There is however an idea on the community for this.