I am using a multistep form on a content-type where the user can set the number of steps individually on each node. Thus the number of steps needs to be stored per node (and not only per content-type).

CommentFileSizeAuthor
#2 multistep-1363560-2.patch11.85 KBroball
#1 multistep-1363560.patch11.76 KBroball

Comments

roball’s picture

Status: Active » Needs review
StatusFileSize
new11.76 KB

The attached patch against the 6.x-1.x branch implements that feature. The module will continue to work exactly as before if no third-party module will interfere, so the changes are absolutely silent.

But, a third-party module now has the possibility to set and check the number of steps on a node scope instead of the usual content-type scope: When the variable "multistep_steps_TYPE:NID" (eg. 'multistep_steps_my_content_type:123') exists, its value will be returned as the number of steps. Otherwise, the value of the "multistep_steps_TYPE" (eg. 'multistep_steps_my_content_type') variable will be returned as usual.

roball’s picture

StatusFileSize
new11.85 KB

Attached is a revised patch that fixes one error of the original one. I have extensively tested it - so this one should really work well.

roball’s picture

Can there be expected any progress on this issue?