Thank you for this great module! I have been learning how to use it today and it looks awesome!

One question I have is how to write-up the profile-node-form.tpl.php so that specific text (like instructions I have typed with each field) only shows with the field at the specific step?

I would appreciate your help!

Comments

mesh’s picture

you might have to find the current step of the form and accordingly output content. i suppose $form_state['step'] does store the current step, you will need to check though.

Bilmar’s picture

I'm sorry, I am still having a lot of trouble with this - trying to setup 3 steps and be able to add text/css/html to the template so that it shows on step one, on step two and on step three.

Could someone please provide a simple example? It would be very much appreciated!

vkareh’s picture

Hello trupal218,
There are two functions that might help you

  • _multistep_get_current_step($type)
    Will tell you what's the current step for this content $type.
  • _multistep_get_field_step($field, $type)
    Will tell you what step does the $field belongs to.
vkareh’s picture

Status: Active » Closed (fixed)

Closing due to inactivity.