User Profile

Collapse

Profile Sidebar

Collapse
Alexio
Alexio
Last Activity: Oct 20 '09, 02:39 PM
Joined: Jan 21 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Alexio
    started a topic how to fix the error?? thanks

    how to fix the error?? thanks

    I have two similar function that need to be combined. Individually they both work however combined one over rides the other.
    The code is attached below and an attachment is included for data information.

    I have attached a screen shot of data
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    ...
    See more | Go to post
    Last edited by Frinavale; Sep 15 '09, 07:09 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.

  • Alexio
    started a topic Check box validaton

    Check box validaton

    I am a newbie to this and am having a problem with validation and keeping data that has been entered in other fields when submitting the form.
    For the check boxes, I need a minimum of one selected. If one is not selected, a message box appears notifying that a check box has not been selected. When I click OK, the data in the other text boxes is removed as if the form is being reloaded. How can I prevent this from happening.
    Is there...
    See more | Go to post
    Last edited by acoder; Jun 17 '08, 09:40 PM. Reason: Added code tags

  • When the form is first filled out by user, the current date is enter dynamically into the date textbox. The form is then saved into the database. When user goes back to open form after a few days, I need the original date to be in the text field not the new current date. So I need the original date to be "static".
    See more | Go to post

    Leave a comment:


  • Static date field in form when form is opened at later date.

    I need to enter a date into a text field when form is loaded. However I need this date to be static when the form is opened at a later date.
    I have the text box set to readonly. Will this be sufficient or do I need some type of Update function for when the form is opened again?


    [HTML]<script language="javas cript">

    window.onload = function (){
    var tDay = new Date();
    tMonth...
    See more | Go to post
    Last edited by gits; Mar 17 '08, 05:22 PM. Reason: added code tags

  • Thanks for saving me again. U Rock!
    See more | Go to post

    Leave a comment:


  • Populating a hidden text box with same data as other text box

    Sample code snippet -

    <td align="right">C heck Amount:&nbsp;</td>

    (1) <td><input type="text" name="CHK_input _1" size="19"style= "text-align:right" onkeyup="calcCB ();" onBlur="currenc y(this); calcCB();" tabindex="26">

    (2) <input type="hidden" name="OBKey__53 _1" id="kw_check_am ount"...
    See more | Go to post

  • Alexio
    replied to onLoad() event - obj undefined error
    It has been awhile since I was able to get back to this project.
    Thanks again for your help. You have been able to really help me out!
    See more | Go to post

    Leave a comment:


  • Alexio
    started a topic onLoad() event - obj undefined error

    onLoad() event - obj undefined error

    I need to apply an onLoad() event to call the function displayed below.
    I tried <body bgcolor="#B3FFB 3" onLoad="display (obj)"> and it comes up with an error message of obj undefined.
    My question is how do I define obj?
    Thanks for any help.


    [CODE=javascript]function display(obj,id1 ,id2,id3,id4,id 5,id6,id7,id8,i d9,id10) {
    txt = obj.options[obj.selectedInd ex].value;
    ...
    See more | Go to post
    Last edited by acoder; Feb 14 '08, 07:13 PM. Reason: Added code tags

  • Alexio
    replied to Currency format in textboxes
    Thanks for all your help!!!!...
    See more | Go to post

    Leave a comment:


  • Alexio
    replied to Currency format in textboxes
    Newbie here, not quite sure how to do that....
    See more | Go to post

    Leave a comment:


  • Alexio
    replied to Currency format in textboxes
    That is what I was using. I even tried taking the formatting off of the text boxes where it calculates the total. For some reason, only one or the other method will work. I even tried to create a new method combining the two but to no avail.
    separately they work but together it is only one or the other. I even tried to add the formatting function to the end of the add function but nothing....
    See more | Go to post

    Leave a comment:


  • Alexio
    replied to Currency format in textboxes
    By applying the currency format method before the add method, it disables my add function and vice versa. I can only get one or the other to work. This is totally getting me. Need to get working for project at work. Any help would be mostly appreciated....
    See more | Go to post

    Leave a comment:


  • Alexio
    replied to Currency format in textboxes
    Still will not work!...
    See more | Go to post

    Leave a comment:


  • Alexio
    replied to Currency format in textboxes
    It formats into currency but disables my add function....
    See more | Go to post

    Leave a comment:


  • Alexio
    replied to Currency format in textboxes
    I currently have an add method being called on change. I tried to add dollarformat(th is.value); to onChange as well but has no effect even when i change it to the only method being called. How do you add more than one method to an event?...
    See more | Go to post

    Leave a comment:


  • Alexio
    replied to Currency format in textboxes
    After the value in a particular text box has changed. As in formatting after moving to next text box....
    See more | Go to post

    Leave a comment:


  • Alexio
    started a topic Currency format in textboxes

    Currency format in textboxes

    Am new to javascript.
    I need to format the currency in the as numbers are entered in textboxes. I can format the currency in the calculations and display in the totals but can not figure out how to format in input textboxes.


    [HTML]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>Untitl ed...
    See more | Go to post
    Last edited by acoder; Jan 22 '08, 08:41 AM. Reason: Added code tags
No activity results to display
Show More
Working...