We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Module form handling

Development and Programming

Jock's avatar
Jock
7 posts
16 years ago
Jock's avatar Jock

Hi,

I am in the process of developing my first EE module. Thus far, I have set up all my screens, forms and form elements, but I cannot work out how to submit/process forms. From what I gather, the actions set in exp_actions have something to do with it, but I can’t find any coverage of this in the documentation. Can someone provide me with some guidance or a simple example? All I need to do is upload a file, parse it and show a result.

Also, the display class seems to have virtually every input type other than file. Thus, I have appended the appropriate control to the body manually, as follows:

$DSP->body .= <input type="file"...

Is this ok, or is there a “good practice” way of achieving this?

Thanks.

       
silenz's avatar
silenz
1,651 posts
16 years ago
silenz's avatar silenz

Are you talking about forms in the Control Panel or forms on the website / front-end?

       
Jock's avatar
Jock
7 posts
16 years ago
Jock's avatar Jock

Never mind, I have worked it out.

Thanks anyway.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.