Dynamic forms with context variables