Welcome Guest, Not a member yet? Register   Sign In
Form Input Idea
#1

[eluser]Unknown[/eluser]

Does anyone else think its a good idea to add the same argument to the form_close() function as in the form_open() function for creating hidden input tags? It's not necessary but it would allow a bit more freedom when building forms. So it would look something like
form_close ($arguments = "", $hidden = array ())
Just like in the form_open() function.

S
#2

[eluser]TWP Marketing[/eluser]
In terms of code readability I think I prefer the current methods. A form would (should) present the setup and configuration at the beginning of the code segment, rather than separating the open parameters and the hidden parameters. Some form code may be so large as to push the close statement below the visible edge of your editor screen. This acts as an obfuscation of the code.

That being said, why do you want to put data in the close statement?




Theme © iAndrew 2016 - Forum software by © MyBB