Login | Forgot password | Register

X

What is OpenID?

OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.

With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.

For more information visit the official OpenID site.

Jump to:

17478 Posts in 4473 Topics by 1972 members

Archive

SilverStripe Forums » Archive » show result of a form

Our old forums are still available as a read-only archive.

Page: 1
Go to End
Author Topic: show result of a form 297 Views
  • ojalà
    avatar
    Community Member
    87 posts

    show result of a form Link to this post

    Hi!
    I create a form taht take name, typology and category. I want show in my page the value of form, after push submit. How can do this? My function don't run.

    function BrowserPollResults() {
    $submissions = DataObject::get('BrowserPollSubmission');

    $doSet = new DataObjectSet();
    foreach($submissions) {

    $record = array(
    'name' => $name,
    'tipology' => $tipology' ,
    'category' => $category

    );
    $doSet->push(new ArrayData($record));
    }
       
    return $doSet;
       }

    297 Views
Page: 1
Go to Top

Currently Online: Greg1, turtleline, Willr

Welcome to our latest member: fearofbuttons

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.