When ever I use multistep webform with computed field and try to enter data in second page, webform redirect me to first page with validation error.
Source code of my webform,
page_1:
'#type': wizard_page
'#title': 'Page 1'
name:
'#type': textfield
'#title': Name
'#required': true
page_2:
'#type': wizard_page
'#title': 'Test Page'
test_table:
'#type': webform_table
'#title': Test
'#title_display': none
test_length:
'#type': table_row
'#title': Length
test_length_material:
'#type': number
'#title': 'test Length Current'
'#title_display': none
'#placeholder': '0'
test_length_material_1:
'#type': computed_twig
'#title': 'test Length Comp'
'#template': '{{( data.test_length_material )}}'
'#store': true
'#ajax': true
'#title_display': none
test_width:
'#type': table_row
'#title': Width
test_width_material:
'#type': number
'#title': 'test Width Current'
'#title_display': none
'#placeholder': '0'
test_width_material_1:
'#type': computed_twig
'#title': 'test Width Material 1'
'#template': '{{( data.test_width_material )}}'
'#store': true
'#ajax': true
'#title_display': none
test_thickness:
'#type': table_row
'#title': Thickness
test_thickness_material:
'#type': number
'#title': 'test Thickness Current'
'#title_display': none
'#placeholder': '0'
test_thickness_material_1:
'#type': number
'#title': 'test Thickness Material 1'
'#placeholder': '0'
'#title_display': none
test_volume:
'#type': table_row
'#title': volume
test_volume_computed:
'#type': computed_twig
'#title': 'test Volume Material'
'#template': '{% if data.test_length_material|length and data.test_width_material|length and data.test_thickness_material|length %} {{ (( data.test_length_material * data.test_width_material * data.test_thickness_material ) / 1000000) }}{% endif %}'
'#ajax': true
'#title_display': none
test_volume_computed_1:
'#type': computed_twig
'#title': 'test Volume Material 1'
'#template': '{% if data.test_length_material|length and data.test_width_material|length and data.test_thickness_material_1|length %} {{ (( data.test_length_material * data.test_width_material * data.test_thickness_material_1 ) / 1000000) }}{% endif %}'
'#ajax': true
'#title_display': none
Webform version is 6.1.3. Also ajax setting is set true for above webform.
For more clarity, I have configure my webform in simplytest.me. Click Here. Anyone have any idea why it is not working ?