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 $ form_state ['input'] processes and $ form_state ['input' ] to work properly.

I am working on the contribution module and while reviewing using pareview.sh, it suggests that instead of $ 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.

Use var_dump ($ form_state ['values']) to get an idea of ​​what the field is getting; submitted


Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -