Jump to content

firstplacedave

Members
  • Posts

    6
  • Joined

  • Last visited

firstplacedave's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. You're solutiuon has solved almost ALL of my problems. I am most thankful. The columns now have a fixed width that I've set based on your direction now I just have one more question I hope you (or anyone else) can answer, how on EARTH do I STOP them from expanding at all. I only want the user to be able to type until the end of the cells. I've found something that solves my problem with the whole table shiftting to display the text better, but I need something that locks the cell from expanding. Here is my current code and the output is below in an attached screenshot. '<table border=1 width=100% style=table-layout:fixed ><overflow:hidden><tr><td width=35%><b><u>Specific Target Behavior 1:</b></u></td><td width=15%><b><u>Frequency (times per____):</b></u></td><td width=20%><b><u>Intensity:</b></u></td><td width=10%><b><u>Duration (min):</b></u></td><td width=20%><b><u>Change (since last evaluation):</b></u></td></tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td><b><u>Specific Target Behavior 2:</b></u></td><td><b><u>Frequency (times per____):</b></u></td><td><b><u>Intensity:</b></u></td><td><b><u>Duration (min):</b></u></td><td><b><u>Change (since last evaluation, in +/- % change):</b></u></td></td></tr><td></td><td></td><td></td><td></td><td></td></tr><td><b><u>Specific Target Behavior 3:</b></u></td><td><b><u>Frequency (times per____):</b></u></td><td><b><u>Intensity:</b></u></td><td><b><u>Duration (min):</b></u></td><td><b><u>Change (since last evaluation, in +/- % change):</b></u></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td><b><u>Specific Target Behavior 4:</b></u></td><td><b><u>Frequency (times per____):</b></u></td><td><b><u>Intensity:</b></u></td><td><b><u>Duration (min):</b></u></td><td><b><u>Change (since last evaluation, in +/- % change):</b></u></td></tr><td></td><td></td><td></td><td></td><td></td></tr><table>' I am aware, and I have viewed that page before, thank you. I cannot quite explain why the software we use allows for it to display with these errors, but it does.
  2. I'm sorry, maybe I didn't clarify fully. Those " ' " are requred at the beginning and end of the code for executing. This won't be populating from anywhere. I simply want these to be editable, which they are now. I appreaciate your help so, so much. I'll be trying this when I return to the office on Monday. I hope you and your family have a wonderful Thanksgiving.
  3. Hello fellow coders! I'm working on the emplementation of a new Electronic Health Record for a Behavioral Health Organization and we're trying to figure out the best way to add grids to certain forms. I've gotten a pretty good base down, but I have a few things i require assistance with. Below is one example of what we wanted. My questions are: 1. How can I make the individual cells smaller or larger? A few will require a bit more room but not much. 2. Also attached is another example of what we need. I need it to list from 1-4 and leave room for typing. I would love to have the cell end like they do in the table above, however whatever I try it doesn't work. If I leave it as is, when the user starts typing their text is bolded. Is there a way to fix this? Attached are the two table photos and the code is below. Thank you for any help. <!-- Table 1 Code: --> <table border=1 style=width:100%> <tr> <td><b><u>Specific Target Behavior 1:</b></u></td> <td><b><u>Frequency (times per____):</b></u></td> <td><b><u>Intensity:</b></u></td> <td><b><u>Duration (min):</b></u></td> <td><b><u>Change (since last evaluation, in +/- % change):</b></u></td> </tr> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td><b><u>Specific Target Behavior 2:</b></u></td> <td><b><u>Frequency (times per____):</b></u></td> <td><b><u>Intensity:</b></u></td> <td><b><u>Duration (min):</b></u></td> <td><b><u>Change (since last evaluation, in +/- % change):</b></u></td> </td></tr><td></td><td></td><td></td><td></td> <td></td> </tr> <td><b><u>Specific Target Behavior 3:</b></u></td> <td><b><u>Frequency (times per____):</b></u></td> <td><b><u>Intensity:</b></u></td> <td><b><u>Duration (min):</b></u></td> <td><b><u>Change (since last evaluation, in +/- % change):</b></u></td> </tr> <tr> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td><b><u>Specific Target Behavior 4:</b></u></td> <td><b><u>Frequency (times per____):</b></u></td> <td><b><u>Intensity:</b></u></td> <td><b><u>Duration (min):</b></u></td> <td><b><u>Change (since last evaluation, in +/- % change):</b></u></td> </tr> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <table> <!-- Table 2 Code: --> <table border=1 style=width:100%> <tr> <td><b>#1:</b></tr> <table> The ' is required to make the code run in the database.
  4. Thank you for the help, but I'm at a complete loss. Using the code you supplied dsonesuk, I get random numbers. I add the date in / format and I get a negative number. var myDate = new Date(11/12/2015); myDate.setFullYear(myDate.getYear(11/12/15) + 1); Attached are the results:
  5. I haven't really gotten anywhere. I've been searching the web and I have gotten some ideas and have tried them, and they do not work exactly how is needed. One seemed like it was going to display properly, however it just displayed "Fri" which was correct, November 11th would be a Friday next year, but we need it in a MM/DD/YYYY format. Another one that I tried gave me '2016' in the display box, which again is close but not exact. The code for that is: var myDate = new Date(); alert(myDate.getYear() + 1); I don't think this will work as I don't see any formatting.
  6. Hello, I'm a bit desperate here. We are rolling out a new EHR (Electronic Health Record) next year and it supports Java. We've already done a few things like having it pull in the date, however for some of the forms we would like it to populate it one year from today's date (whatever the date is.) Here is what we have for an example. This field automatically pulls it in and disables a calendar button so it can't be changed. What we would like, is if we could have it display 11/11/2016, etc. Code: todaysDateTime() Photo attached of what it currently looks like: Any help you can provide me would be awesome.
×
×
  • Create New...