forms - Which is correct $form_state['values'] or $form_state['input']? -
I used AJAX to populate dependent areas and reproduce the field structure but in this entire process < Code> $ form_state ['values'] is erased but maintains values through I am working on the contribution module and while reviewing using pareview.sh, it suggests that instead of Use $ form_state ['input'] processes and $ form_state ['input' ] to work properly. $ form_state ['values'] $ Form_state ['input'] . But in most scenarios I did not find the required values in the $ form_state ['values'] . Please suggest me what I should do to resolve those warnings in Paraview. As far as I know, all the values are stored by the form $ Form_state ['values'] array. var_dump ($ form_state ['values']) to get an idea of what the field is getting; submitted
Comments
Post a Comment