################################################################################
# Example form action code

# Get a value from the REQUEST
n = context.REQUEST.get('n')

# do something with the value here

# (Optional) set the default next action (this can be overridden
# in the script's actions tab in the ZMI).
state.setNextAction('redirect_to:string:http://www.plone.org')

# Always make sure to return the ControllerState object
return state