Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by jwpward

  1. jwpward

    Best way for a client to update their own site

    Hi guys Thanks so much for your advice. All very helpful!
  2. jwpward

    Best way for a client to update their own site

    Hi I'm just about to design a website for an artist friend of mine. I've done a couple of other sites as favours to friends, but these have all been quite static. If my friend wants to update pictures, text etc himself, what's the best way to do this? Is there freeware available so that he...
  3. jwpward

    isNAN function in C#

    Hi Thanks so much for all your replies. Very helpful indeed. Chip H - thanks for the code. That's done the job. Cheers
  4. jwpward

    isNAN function in C#

    Hi I'm looking for a bit of code that will force a value entered into a text box to be a number. I know that in javascipt, for example, you could use something like: if (isNaN(txtMonth.value)== true) { alert("Date of birth cannot contain letters or symbols"); return; } ..but I'm not...
  5. jwpward

    Disabling form controls conditionally

    Thanks for all your help. Much appreciated.
  6. jwpward

    Disabling form controls conditionally

    Hi Ignore last post. I can just add: r1.disabled = true; Cheers
  7. jwpward

    Disabling form controls conditionally

    Hi Dave This should do the job perfectly. Once I've run the onload function how can I explicitly disable a radio button. Sorry, not sure of the syntax. Using my earlier example.. function myFunction(){ if(txtGender.value == "Male"){ r1. . .;//needs to be disabled } } Thanks again
  8. jwpward

    Disabling form controls conditionally

    Hi Dan Thanks for your reply. How would you use the onchange event handler to disable a radio button? It would need to be done as soon as the page loaded, so the ability to check certain buttons is taken out of the users hands. Hope this makes sense. Cheers
  9. jwpward

    Disabling form controls conditionally

    Hi Is there a way in javascript to disable certain controls on a form, according to some other data on the page? E.g. A web page brings up a customers information which includes a 'gender' text field. The customer needs to check some radio buttons as part of the form, but if the gender...
  10. jwpward

    Is it possible to add the values of case statements?

    Hi I've been out of the office for a couple of hours. Thanks so much for both of your contributions. Tim, that last bit of code works a treat. Thanks again
  11. jwpward

    Is it possible to add the values of case statements?

    Hi Catadmin Thanks for your reply. Logic-wise it makes perfect sense to create a variable to keep a running total, but as you sugested it doesn't seem to like the syntax. I also tried using the count function, but it wouldn't allow me to count more than one result of a case statement. I'll...
  12. jwpward

    Is it possible to add the values of case statements?

    Hi I'm a bit of a sql novice and am writing the following stored proc to select the following fields. select i3_rowid, companyname, phonenumber, companytitle, companyforename, companysurname, datacode, case when(surname1 <> '' and surname1 is not null) then 1 else 0 end as subs from calllist...
  13. jwpward

    appointment setting application

    Very useful. Thank you
  14. jwpward

    appointment setting application

    Hi I'm in the process of building an asp application which needs to include appointment setting. The user needs to be able to select a date and time slot which is assigned to a field sales person so that they can visit a customer. I've got examples of calendar controls etc, but was wondering...

Part and Inventory Search

Back
Top