Menu

Form data Help need

Help
ArMiGer
2006-05-18
2013-06-03
  • ArMiGer

    ArMiGer - 2006-05-18

    Can anybody help me with this?
    When form is submited on my website, everything is working fine, but I need to recieve the data as a value. For example - the form shows "good" from dropdown menu and I need to recieve the number "4" in my email instead of "good". Is it possible or not.
    Thanks in advance.

     
    • TNTEverett

      TNTEverett - 2006-05-18

      The answer is YES!
      Anything is possible.  You are free to customize the forms you generate to suit whatever your needs are.  With a little knowledge of html forms and some php programming you should easily be able to implement the changes you suggest. 

       
    • ArMiGer

      ArMiGer - 2006-05-20

      Is it enough to change the "option value" in the html form to any number I wish, or I need to change the "process.php" also?
      And one more question if anybody knows.
      Can this form be done to make a calculations?
      Example: If the sum of previous calculated values is number under 50 send "x" message, and if the sum of previous calculated values is number over 50 send "y" message.
      Any  suggestions?

       
      • TNTEverett

        TNTEverett - 2006-05-21

        I'm not sure exactly what you are talking about but yes.  Forms the use optionnal entries can have the default (pre selected) option set to any value.  Although this value is usually the first in the list, in can in fact be any option from the list that you choose. 

        The form can have embeded php to do calculations or the calculations can be done after the form is submitted.  PHP has a very extensive set of mathmatical capabilities.  You can do practicaly anything you can imagine. 

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.