baseportal
Start

baseportal message board

Welcome to the baseportal message board...

Please read the FAQ.

 
 Selected message: To the list 
    Message from merryn on 9/14 2003, 14:51 +10:00
    EMail: merrynhome@bigpond.com

    Re: Modifying existing database fields using an HTML form


      Kelly,

      from what I can understand from the documentation, you need to replace "add" with "mod"

      ie:

      <form action="/baseportal/YourName/Directory/Template" method="post" enctype="multipart/form-data">
      <input type="hidden"name="cmd="value="mod">
      <input type="hidden"name="htx=" value="/YourName/Directory/Template">

      <do action=input>

      If you get it working, let me know as I can't seem to and am desparately trying to do the same thing.

      I also want to only change one value and be able to ask the user to confirm before sending it to the db.

      Hope you have better success than me..
      Thanks
      Merryn

    Your reply:

    Name: EMail: WWW:
    Subject:
    Text:
    Timezone:

    Post a new message


 All messages from this thread: To the list 
    Message from Kelly on 9/13 2003, 22:07 -06:00
    EMail: theonering@thegateroom.com WWW: geocities.com/xagc_lj

    Modifying existing database fields using an HTML form


      I successfully used your method in the documentation section to "add" an entry to the database from an external form. I want to modify existing field entries, not add new ones. How do I use "submit" in HTML to post data to my template so I can use it to modify the database?
      ******I used this format to "add"******

      <form action="/baseportal/YourName/Directory/Template" method="post" enctype="multipart/form-data">
      <input type="hidden"name="cmd="value="add">
      <input type="hidden"name="htx=" value="/YourName/Directory/Template">

      <do action=input>

      ******What should I change to "modify"*******

      Thanks,
      Kelly

     Post a reply

    Message from merryn on 9/14 2003, 14:51 +10:00
    EMail: merrynhome@bigpond.com

    Re: Modifying existing database fields using an HTML form


      Kelly,

      from what I can understand from the documentation, you need to replace "add" with "mod"

      ie:

      <form action="/baseportal/YourName/Directory/Template" method="post" enctype="multipart/form-data">
      <input type="hidden"name="cmd="value="mod">
      <input type="hidden"name="htx=" value="/YourName/Directory/Template">

      <do action=input>

      If you get it working, let me know as I can't seem to and am desparately trying to do the same thing.

      I also want to only change one value and be able to ask the user to confirm before sending it to the db.

      Hope you have better success than me..
      Thanks
      Merryn

     Post a reply


    Message from Kelly on 9/15 2003, 03:32 +00:00
    EMail: theonering@thegateroom.com WWW: geocities.com/xagc_lj

    Re: Modifying existing database fields using an HTML form


      I noticed your post and thought we needed the same thing. I had already tried to substitute "mod" for "add" but it doesn't work. I get an error message (in German, I think) so I'm not quite sure what it's telling me but no values get written in the database.
     Post a reply
     
 Messages from 3300 to 3450: To the input form 
<< Newest messages | < Newer messages | To the input form | Older messages > | Oldest messages >>


Back to the homepage

© baseportal.com. All rights reserved. Terms of use



baseportal.com