Updated form rendering and processing.