setDefault in form from GET

i have link:

in database i have:

id | title | body | number

i can make form for this, but how to hide $form[‘number’] in template and set Default this from URL (parameter number)?

Not sure what you mean, can you ask the question again perhaps?, differently?

i would like save number to database without render input for this. Should save from URI (parameter number)

When saving to database you should use POST instead of GET.

If you must do it that way, you need to use a SESSION variable for the number.


$_SESSION['number'] = $number;


$number = $_SESSION['number'];