mirror of
https://github.com/silverstripe/silverstripe-multiform
synced 2024-10-22 11:05:49 +02:00
Fixed old documentation
This commit is contained in:
parent
20207a8dee
commit
9475fabee7
@ -100,7 +100,9 @@ abstract class MultiForm extends Form {
|
|||||||
// Set up the actions from the current step
|
// Set up the actions from the current step
|
||||||
$this->setActions();
|
$this->setActions();
|
||||||
|
|
||||||
// Set a hidden field in the form to define what this form session ID is
|
// Set a hidden field in the form to identify this session.
|
||||||
|
// Depending on what has been configured for $url_type, we
|
||||||
|
// find an encrypted hash to identify the session.
|
||||||
$urlMethod = $this->stat('url_type');
|
$urlMethod = $this->stat('url_type');
|
||||||
$this->fields->push(new HiddenField('MultiFormSessionID', false, $this->session->$urlMethod));
|
$this->fields->push(new HiddenField('MultiFormSessionID', false, $this->session->$urlMethod));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user