Hi, How do I go around making an input visible on a page but the user has no access to click it and change the data? For example, If I have an empty input on the page, the user inputs the data. Once they have input their data and saved the results to a database, [...]
Hi Everyone, Do any of you know how to best display en error message when validating user input (Server-side). I know that you can use a message box when working on the client-side, but it doesn’t work when sending data to server. I understand that I have to use PostBack, but how do you display [...]
This works fine to change an input: Code: document.theform.f10.value = ‘test’; But the input that gets changed needs to be based on a variable in the function. So, it needs to work like this: Code: var input = "f10"; document.theform.input.value = ‘test’; But I can’t get it to work. Any advice? View full post on [...]
I am trying to be able to have the numbers in the rows(columns) to be able to either increment or decrement via user input by radio button on the HTML form page.I have included both the HTML page and the PHP page. HTML Code: <html> <head> <title>form</title> <style type="text/css"> body {background-color:yellow} [...]
Say I have something like this: Code: <form name="form1" method="POST" action="action.php"> <input type="text" name="golf_tees[]" id="golf_tees[]"> <input type="text" name="golf_tees[]" id="golf_tees[]"> <input type="text" name="golf_tees[]" id="golf_tees[]"> <input type="text" name="golf_tees[]" id="golf_tees[]"> </form> If I want to disable the first 2 golf_tees text inputs, how do I go about that? document.getElementById only alters the first input. View full post on [...]
Does anybody know if it’s possible through PHP to use an electronic signature pad? One of these for example: http://www.topazsystems.com/products/index.htm I have a form that requires a signature, though not sure how these devices work, or if they can be used on websites. I’m thinking javascript may be the answer, but I have no clue [...]
Hi there, So I’m building a woodworking site for someone, but am a little bit uninspired by the design I’m using, can someone please take a look and offer any suggestions? http://firstclasswoodworking.com/wordpress/ View full post on Tycoon Talk
Hey guys, I have a .pdf and a .doc version of a form with fields (simple radio, check/text boxes) that match those on an HTML form page. I was wondering if anyone could point me in the right direction with populating either the PDF or the Word document using a php script? I’ve attempted to [...]
the following program is syntactically correct, as far as I know. "prog.c" Code: #include <stdio.h> #define KMS_PER_MILE 1.609 int main(void) { double miles, kms; /* set pointers */ FILE *inp, *outp; /* open input/output files */ inp = fopen("b:input_file.txt", "r"); outp = fopen("b:output_file.txt", "w"); /* get and echo info [...]
Hi there, This is a code how to make random input in imacros for 1 input{{fruit}} I need to know how can I make 3 inputs random like {{fruit2}} {{fruit3}} {{fruit3}} PHP Code: myfruits = new Array();myfruits.push(“Strawberry”);myfruits.push(“Banana”);myfruits.push(“Kiwi”);myfruits.push(“Orange”);myfruits.push(“Mango”); for(i=0;i<10;i++) { randomint = Math.floor(Math.random()*myfruits.length); iimSet(“fruit”,myfruits[randomint]); View full post on Tycoon Talk