Jump to content

bernie.nmsu

Members
  • Posts

    22
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

bernie.nmsu's Achievements

Member

Member (2/5)

0

Reputation

  1. I've been asked to create a change request PDF form on-line and submit via email to an approver. The approver would be able to open the PDF with all the data that was filled out. There seems to be some limitations with what Adobe Pro could handle as far as email. They ask for user acceptance of emailing the PDF form if using the Email Submit Button. This is unacceptable by the powers that be over the project. I also have to use a PDF. I found that I could use a standard PDF submit button which will allow me to point to a PHP page. I'm hoping to be able to capture the PDF in it's entirety and email it with PHP. I know how to email with PHP however, I do not know how to capture the file which is submitting the request. Has anyone done anything like this? or Can you help me with some code to capture the PDF file and wrap it up into an attachment? Thanks
  2. I am going to create a page where you can upload multiple files into a location and then have a page where links will be made to those files. I am creating the following table: Id Numeric Doc Group Text Doc Sub Group Text Doc Title Text Doc Location Text Doc Destination Text Doc Type Text Doc Revision Date Date Can someone point me in the right direction on the php code needed to upload the pages? I don't have a problem making the display page and links.
  3. I am developing a FAQ page. I have it set up to where the page only displays common questions. Once the user selects the question, the answer displays right below it. When the user clicks on the question again, the answer becomes hidden. I have the basic functionality to work fine, except that when get to the bottom my FAQ list and you click on the question to display the answer, the focus gets placed back to the top of the page rather than the new information that just got displayed. I'm already using onClick to run my function to show the text, but I also need it to focus on the answer. <p><a href="#" id="moreLink15" onClick="return showAndHide('QUESTION15')">• Question15?</a></p> <blockquote> <div id='QUESTION15' style="display:none"> <p>Answer15.</p> </div> </blockquote> Any help is appreciated.
  4. Looks like I found something. This seems to work for me. <html> <head> <title>Untitled</title> <script language="JavaScript"> function showAndHide(theId) { var el = document.getElementById(theId); var link = document.getElementById("moreLink"); if (el.style.display=="none") { el.style.display="block"; //show element link.innerHTML = "Hide Links..."; } else { el.style.display="none"; //hide element link.innerHTML = "More..."; } return false; } </script> </head> <body> <p><a id="moreLink1" href="#" onClick="return showAndHide('QUESTION1')">FAQ #1</a></p> <div id='QUESTION1' style="display:none"> ANSWER 1<br> ANSWER 1A</a><br> ANSWER 1B</a><br> </div> </body> </html> Thanks for the help.
  5. I haven't found anything. I've never used Javascript. Is there a specific function that I need to use?
  6. I'm creating a FAQ's page. The layout that I want to use is to list the questions and allow the user to select the question and display the FAQ right under the question. If the user selects the question again, the answer gets hidden. Does someone know how to code this functionality. I'm still learning. Thanks.
  7. I converted the table width into pixels instead of % and that fixed the problem. Disregard this newbies ignorance.
  8. I have created a page that has four tables on it. In the design of the page, it appears that all the tables are the same size. When I open the page through a browser, it clearly shows that one table is longer than the others. I know that the longer table has more data in it, but in the design view they show the same size. I've change the width % of the shorter tables but all that seems to do is extend the table but it seems to be getting cut off the right side by the template. Can someone help me to make sure that the tables come out to be the same size?
  9. I need my while statement to loop through, because I'm placing the course's into a field. I'm getting my data from a related table. Any other suggestions.
  10. That sends me into an infinite loop. Any other suggestions.
  11. Any help is appreciated. I have not used dreamweaver in a while and I need some help with some code. I have a registration website, where folks can select a course from a course table. When they select the course, it takes them to a registration page. What I need to do now is not allow registration for a course if the course key is equal to 50. I'm getting the following error - Parse error: parse error, unexpected '?' in c:\program files\apache group\apache\htdocs\training\index.php on line 205 Here is the code I have so far. <?php while (!$Recordset1->EOF) { ?> if ($Recordset1->Fields('CourseKey')=='50') echo $Recordset1->Fields('CourseName'); echo $Recordset1->Fields('CourseDesc'); else <td><a href="indexSelection.php?courseKey=<?php echo $Recordset1->Fields('CourseKey'); ?>"><?php echo $Recordset1->Fields('CourseName'); ?/a></a></td> <td><?php echo $Recordset1->Fields('CourseDesc'); ?></td> </tr> <?php $Recordset1->MoveNext(); } ?>
  12. **SOLVED** Performing to change behaviors on the action on the selection of the radio buttons resolved the problem.
  13. I have a form which contains two radio buttons to run a report. The radio buttons are called selection. Based on the user selection, the value becomes dept or date. I want to change the action of the form based on the selection. I am attempting the following if statement which fails. <form name="form1" method="post" <?php if ('selection' == "Dept") { action="classRosterReportDept.php" } else { action="classRosterReportDate.php" } ?> > Can someone let me know if Dreamweaver has something built in already to do this or on how to fix the php code. I receive the following error: Parse error: parse error, unexpected '='
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.