User Profile

Collapse

Profile Sidebar

Collapse
printline
printline
Last Activity: Jul 30 '09, 08:32 AM
Joined: Jul 7 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • printline
    started a topic Need a macro for office outlook 2003

    Need a macro for office outlook 2003

    Hello

    I have the following macro for outlook:

    Code:
    Dim oApp As Application
    Dim oNS As NameSpace
    Dim oMsg As Object
    Dim bDoAction As Boolean
    Dim oAttachments As Outlook.Attachments
    Dim iSubject, dirPath, tu, hu, tot, Rcp As String
    Dim i, iAttachCnt As Integer
    
    
    'Counting files
    Private Function CountFiles(ByVal folderPath As String, Optional ByVal
    ...
    See more | Go to post

  • printline
    replied to Multiple submit buttons in form
    I'm having a problem opening in a new window... I now that i can just put in target="_blank" in the <form> tag, but my problem is that it is only when i hit this button
    Code:
    <input type="image" src="images/tabelbutton.png" value="submit" onClick="submitFunction(2)">
    that a new window should open... I have tried this in the javascript, but it doesn't work:

    Code:
    <SCRIPT>
    ...
    See more | Go to post

    Leave a comment:


  • printline
    started a topic Multiple submit buttons in form

    Multiple submit buttons in form

    Hello All

    I have a form with multiple submit buttons, where i would like to open in a new window when hitting one of the submit buttons. Can't seem to figure this out according to the code i'm using. Could someone perhaps tell me what to do...???

    Here is the code i'm using:

    Code:
    <SCRIPT>
    function submitFunction(i) {
       if (i==1) document.shopform.action="http://www.printline.dk/webshop/upload.php";
    ...
    See more | Go to post

  • Problems adding an extra day depending on time in an order form

    Hi' All

    I have an ordering formular where users can choose on how many working days they want thier order on. I skip saturday and sunday because they are not working days and this works fine. If they place thier order after 3 o'clock in the afternoon an extra working day should be added. This also works fine in my script, but then the problem occurs. Instead of skipping staurday and sunday when they place their order after 3 o'clock,...
    See more | Go to post
    Last edited by Dormilich; Jan 22 '09, 08:36 AM. Reason: added [code] tags, please read your PM

  • printline
    replied to add an extra day depending on time
    Hi'

    Tried doing what you suggested and my code looks like this now:

    Code:
    <script type="text/javascript"> 
    function setDelivery(val) { 
    var delivery = new Date(); // We start on current day 
    var theyear = delivery.getFullYear(); 
    var themonth = delivery.getMonth()+1;
    var thehours = delivery.getHours(); 
      
    var i = 0; // i - Number of working days we have reached
    ...
    See more | Go to post

    Leave a comment:


  • printline
    started a topic add an extra day depending on time

    add an extra day depending on time

    Hi' All

    I have an ordering formular where users can choose on have many days they want their order on. I use the below script to calculate and show the shipping date:

    Code:
    <script type="text/javascript">
    function setDelivery(val) {
    var delivery = new Date(); // We start on current day
    var theyear = delivery.getFullYear();
    var themonth = delivery.getMonth()+1;
    
    var
    ...
    See more | Go to post

  • Thanks, that did the trick.

    But......

    I do the same check in another place where it doen't work in Firefox, but it does in IE.

    [HTML]<input name="pcbheight " id="beregnvis3 " type="text" onkeypress="ret urn disableEnterKey (event)" style="font-family:Helvetic a, sans-serif; font-size:11px;" onblur="checkFi elds9()" value="" size="3"...
    See more | Go to post

    Leave a comment:


  • Hello

    Tried adding the semicolon's, no luck...

    Code:
    <script type="text/javascript"> 
    function checkFields9(){        
            if (shopform.totalhwtemp.value<=16) {
                return true
            }else{
    		    shopform.hw.value = "0.00";
    			shopform.priceperpiece.value = "0.00";
    			shopform.subtotal.value = "0.00";
    			shopform.total.value
    ...
    See more | Go to post

    Leave a comment:


  • printline
    started a topic Javascript working in IE but not in Firefox

    Javascript working in IE but not in Firefox

    Hello out there....

    I have a javascript that goes like this:

    Code:
    <script language="javascript">
    function checkFields9(){        
            if (shopform.totalhwtemp.value<=16) {
                return true
            }else{
    		    shopform.hw.value = "0.00"
    			shopform.priceperpiece.value = "0.00"
    			shopform.subtotal.value = "0.00"
    ...
    See more | Go to post

  • Hi' rnd me

    I'm having some difficulties getting your fixes to work.

    No matter where i put the script:

    Code:
    <script type="text/javascript" language="javascript"> 
    <!-- 
    var fo = document.form.name 
    var val = readCookie("theName");  
    if(val){ fo.selectedIndex=val; fo.form.submit(); } 
      
      
    //--> 
    </script>
    ...
    See more | Go to post

    Leave a comment:


  • select function to take users to another location

    Hi all

    I have a problem with a form script.

    The form script should do the following:

    When a user selects a value from a drop down list and hits the "next" button it should take him to a specific site. Also he has the option to check a checkbox "Remeber this choice" so that when he returns to the site it remembers what he has choosen from the drop down list and automatically takes him...
    See more | Go to post

  • printline
    started a topic upload to ftp through a php script
    in PHP

    upload to ftp through a php script

    Hi' all

    I have a strange problem when uploading files from a form to my ftp site.

    Here is my code:

    [PHP]<?php
    $myFile = $_FILES['file']; // This will make an array out of the file information that was stored.
    $file = $myFile['tmp_name']; //Converts the array into a new string containing the path name on the server where your file is.
    $myFileName = $_POST['MyFile']; //Retrieve...
    See more | Go to post

  • printline
    started a topic create directory for upload file
    in PHP

    create directory for upload file

    Hello all

    I have a php script that uploads a file from a form into a directory. The directory is automatically created through the script.

    But the upload file is not put in to the directory, but outside....

    Can anyone tell what i am doing wrong....?? And perhaps tell me what to do to put the file into the created directory...?

    Here is my code:

    [PHP]<?php

    ...
    See more | Go to post

  • printline
    started a topic want to export form input to xml using php
    in PHP

    want to export form input to xml using php

    Hello All

    I'm quite new to xml vs. PHP, so i hope someone can help with an issue i have been struggeling with.

    I have an html form, that when submitted, it should create an xml file, and save in a certain place on my server.

    I know that this can be done using php, but i'm not sure how....?

    Here is my php (which needs to be configured to output the xml file):

    [PHP]<?php...
    See more | Go to post

  • printline
    replied to show value of textfield
    Thanks a lot. That helped!
    See more | Go to post

    Leave a comment:


  • printline
    replied to show value of textfield
    Hello RamananKaliraja n

    My code looks like this:

    Code:
    <script type="text/javascript">
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)
    ...
    See more | Go to post

    Leave a comment:


  • printline
    replied to show value of textfield
    Hi'

    Could you give me an example on how to do this...???
    See more | Go to post

    Leave a comment:


  • printline
    replied to show value of textfield
    Hello

    All of your code works great, but i have run into a problem with my form. I have a field called total, where the value of the field is automatically generated from a script. I don't change this field manually.

    Now i want to copy this field to another field by doing this:

    Code:
    <script language="text/javascript">
    function printThis7()
    {
       document.getElementById('total2').value
    ...
    See more | Go to post

    Leave a comment:


  • printline
    replied to show value of textfield
    To RamananKaliraja n

    Yes, exactly what i need, but how do i do that....???
    See more | Go to post

    Leave a comment:


  • printline
    replied to show value of textfield
    Works great, thanks, but what i really needed was a modification of the javascript, so that when i use a textfield in the form, the input of the textfield would also show in another textfield or <td> tag.

    Maybe be using getelementbyid or something like that, but can't quit figure out how to do that......
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...