dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: paulb

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Found a fix - here it is for those that wan to...

    Found a fix - here it is for those that wan to know:

    if (!/^\d{3}$/.test(theForm.code.value)) {
    alert("Field should have 3 digits only.");
    theForm.code.focus();
    return false;
    }

    Need...
  2. Regexp to limit number of input characters in a form

    I am trying to limit the input for a particular field to 3 digit numeric exactly. I am using a regular expression as follows:

    if (!/\d{3}/.test(theForm.code.value)) {
    alert("Field...
  3. Replies
    3
    Views
    1,272

    Thanks NogDog, Can you tell me how I need to...

    Thanks NogDog,

    Can you tell me how I need to supply the two variables - I thouhght I had - $var and $fee in the line:
    function feeValue ($var,$fee)

    Can you please give me some more info - much...
  4. Replies
    3
    Views
    1,272

    Writing Custom PHP Function

    I am relatively new to PHP code and I am having trouble turning a piece of custom PHP form code into a PHP function.

    I am trying to pass two form variables into the function ($var and $fee) and...
  5. Replies
    0
    Views
    759

    Form Validation of Array values

    Hi,

    I have a form that allows multiple attachments and I want to use javascript to validate that at least one attachment is uploaded prior to submission of the form. My code is as follows:
    ...
  6. Replies
    0
    Views
    671

    Menu Swapper Pick List

    Hi,

    I am using the menu swapper javascript downloaded from http://www.javascriptkit.com/script/script2/picklist2.shtml and I am loading a series of events as the available select items from a...
  7. Replies
    4
    Views
    1,754

    Thanks for your response and I have been looking...

    Thanks for your response and I have been looking around at how to use the URLENCODE() function but cannot really work out how to do it. Are you able to give me an example using my sample URL in my...
  8. Replies
    4
    Views
    1,754

    PHP GET URL String with "&"

    Hi,

    I am using PHP get and creating a URL string with data variables retrieved from a mySQL table. My problem is that some values have a "&" included in their text. As we know the "&" is used to...
  9. Replies
    2
    Views
    2,648

    Hi and thanks for your response. Can you explain...

    Hi and thanks for your response. Can you explain what you mean please - my problem is not about the radio button code as that works fine. My problem is related to invoking additional validation.
    ...
  10. Replies
    2
    Views
    2,648

    Alternative form action using Javascript

    Hi,

    I am using a rather simple javascript to choose between two different submit actions based on a radio button selection. The radio button form field name is operation.

    My form code is:...
  11. Replies
    1
    Views
    1,345

    Validation array from mySQL table

    I have built my own simple shopping cart using HTML form and PHP code. I have a mySQL database table of products with 3 databae felds - product name, product price and product type.

    Customers can...
  12. Using hidden form field in Javascript Array for validation

    Hi All,

    I have an order form where a customer can select a number of artwork prints supplied by different artists and suppliers. The name, price, postage amount and other details for each of the...
  13. Replies
    3
    Views
    1,334

    Thanks so much Crocket - I managed to get this to...

    Thanks so much Crocket - I managed to get this to work form me and has solved my problem!!
  14. Replies
    3
    Views
    1,334

    Validating Input against defined list

    Hi,

    I have a selection list that users can choose one value from about 300 different values. I wish to add some cross value vaidations to ensure some extra data gets entered should the user choose...
  15. Replies
    1
    Views
    4,075

    Web Email Form with Attachment

    I have searched all over and found many responses to this. I have tries a few combinations but cannot get them to work. I have a web form that send me an email and I want to allow users to add an...
  16. Replies
    0
    Views
    594

    MySQL updates from different domain/host

    Hi All,

    For backup and service continuity reasons I want to be able to read and update MySQL tables (using PHP) that are part of my VPS with one web host from web pages hosted on another VPS with...
  17. Replies
    1
    Views
    801

    Simple Date Time Zone issue

    Hi,

    Using PHP I upload a datetime to mysql database simply using datetime=NOW(). This works perfectly and uploads the timezone of the US based servers.

    That is fine but when retrieving...
  18. Use javascript in A Href link for multiple actions

    Hi,

    I want to be able to provide a single A HREF link on a web page to execute a perl logout script and also display a return URL page determined by the link (i.e. not by the perl logout script)....
  19. Replies
    10
    Views
    2,238

    You are correct Fang. What I am trying to do is...

    You are correct Fang. What I am trying to do is have the user input his registration number, click on go and then the form retrieves and loads full membership details from a mysql database. Instead...
  20. Replies
    10
    Views
    2,238

    Does not make any differennce !! Any other...

    Does not make any differennce !! Any other suggestions?
  21. PHP page re-load after javascript alert with Firefox 3.0.6

    I have also posted this on the javascript forum - but it may be a PHP page re-load problem.

    Using mysql and PHP I am selecting data from a database to display but first I want to invoke a...
  22. Replies
    10
    Views
    2,238

    Javascript problem with Firefox 3.0.6

    Not sure if this post belongs in PHP or Javascript forum. But it seems a javascrips problem I think.

    Using mysql and PHP I am selecting data from a database to display but first I want to invoke...
  23. Thanks Sodbuster - some of the most brilliant...

    Thanks Sodbuster - some of the most brilliant solutions are the simplest. I removed the blanks and it worked like a dream !!
    PaulB
  24. CSV download file with leading space in some fields

    Hi,

    I was wondering if someone can help me here. I have written some PHP code to download the contents from a mysql table to a CSV file. My problem is that some of the fields in the CSV have...
  25. Replies
    5
    Views
    2,156

    Thanks for the help Chris, However all I got...

    Thanks for the help Chris,

    However all I got im my email was:

    if (isset()) {
    update
    }
Results 1 to 25 of 47
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles