We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2912
    • 315 Posts
    Hi All,

    I was wondering if its possible to have an input box that will populate a TV for posting a blog? I’ve been trying to read up and try things but nothing has worked so far.

    Any help would be appreciated.
      BBloke
      • 6470
      • 69 Posts
      Its fairly easy

      1 get form data, and docID
      2 then use DOCAPI of 007
      to manipulate document
      require_once(’assets/libs/docmanager/document.class.inc.php’);
      $doc = new Document(docID);
      // $doc->Set(’parent’,$folder);
      //$doc->Set(’alias’,’post’.time());
      //$doc->Set(’content’,’document content’);
      // $doc->Set(’template’,’GuestBookComments’);
      $doc->Set(’tvSomething’,’put a variable here’);
      $doc->Save();

      thats all
        • 2912
        • 315 Posts
        Thanks for that danielsl. I was hoping it was going to be something like adding a text box and referencing it through.. Now I feel its going to be a little PHP and latch onto one of eforms events. I think I’m gonna need some time and some more pointers.

        Thanks again,

          BBloke