doubt in fields work on web form

creation of webform on expense claim.
Problem facing:

  1. There are 3 dependent fields when expense claim type = ‘Travel’
    These dependent fields are working in Expense Claim Doctype. But not in the web form. I tried customizing the code, but couldn’t arrive at the result. Can you please guide me in this?