Merge pull request #30372 from deepeshgarg007/price_list_ignore_fix

fix: Check if onload property exists in the form object