diff --git a/Text/Formlets.hs b/Text/Formlets.hs
--- a/Text/Formlets.hs
+++ b/Text/Formlets.hs
@@ -82,9 +82,10 @@
 -- | Runs the form state
 runFormState :: Monad m 
              => Env               -- ^ A previously filled environment (may be empty)
+             -> String            -- ^ A prefix for the names
              -> Form xml m a      -- ^ The form
              -> (Collector (m (Failing a)), xml, FormContentType)
-runFormState e (Form f) = evalState (f e) (0, "")
+runFormState e prefix (Form f) = evalState (f e) (0, prefix)
 
 -- | Add additional validation to an already validated component
 check :: (Monad m) => Form xml m a -> (a -> Failing b) -> Form xml m b
diff --git a/formlets.cabal b/formlets.cabal
--- a/formlets.cabal
+++ b/formlets.cabal
@@ -1,5 +1,5 @@
 Name:            formlets
-Version:         0.4.1
+Version:         0.4.2
 Synopsis:        Formlets implemented in Haskell
 Description:     A modular way to build forms based on applicative functors, as
                  described in:
