This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Post addtional data from Javascipt

 
Joe Brigs
Ranch Hand
Posts: 70
IBM DB2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm looking for the best way to do the following: I have a Data Entry Form that I'm validating thru Javascript. I want to Post a Value thats not part of the form depending on the results of an edit. ( i.e. if A == B post 3 else post 4 ) Is this as simple as defining a "Hidden" field on the form and setting it to the result of the if statement ? or is there a better way ? Thanks


As a side question, is there a good site or book that I could read about Forms specifically. I'm coding a pure Data Entry Application , thats writing data to a Database, And I'm finding some of the books I've read about HTML & Javascript dont talk about forms enough.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64190
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd use a hidden input.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic