Answers.Body: <p><strong>Update: This is a bug</strong> - Reported at <a href="https://issues.civicrm.org/jira/browse/CRM-17735" rel="nofollow">https://issues.civicrm.org/jira/browse/CRM-17735</a></p>
  
  <p>---original answer---</p>
  
  <p>I am not seeing this on the demo. On clicking the <strong>Other Amount</strong> radio button, the credit card information section disappears. This is the correct/expected behaviour as the amount is Zero. Adding an amount makes that section reappear.</p>
  
  <p>This could be a browser issue - please test with other OS/Browser combinations. I used <a href="https://ubuntu-mate.org/" rel="nofollow">Ubuntu Mate</a> with FireFox 42.0 </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-14T00:33:23.307Z
Answers.Text: Thanks Sanjay.  I have tried this in three browsers:  Firefox 42, Chrome 47, and Microsoft Edge.  I am on a Windows 10 machine.  In all three browsers, the credit card section fails to reappear after adding an amount in the Other Amount box.  Instead, I get the pink messages asking for the necessary information, but the credit card section is absent.
Answers.UserDisplayName: lesliejmatthews
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-14T02:20:29.223Z
Answers.Text: I also just tried this on the Demo site using Firefox running on Ubuntu Desktop 15 in VirtualBox.  Same behavior:  credit card section fails to reappear after adding an amount in the Other Amount box, and pink missing info messages appear at top of page.
Answers.UserDisplayName: lesliejmatthews
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-14T13:59:53.680Z
Answers.Text: Leslie, Which demo are you using? I was testing on Drupal. It might also help testing if you can provide a link to your site where this is happening.
Answers.UserDisplayName: Sanjay Jain
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-14T21:52:17.037Z
Answers.Text: I am also testing on drupal.  http://d46.demo.civicrm.org/
Answers.UserDisplayName: lesliejmatthews
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-17T02:05:54.170Z
Answers.Text: So it appears that this error is related to using the enter key instead of tab or mouse, after entering an "other amount."  Using the enter key to move to the next field causes the errors.  I still think this may be a bug, because users could easily run into this problem if they use the enter key, and once you hit enter, there's no way to recover.
Answers.UserDisplayName: lesliejmatthews
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-17T17:37:26.830Z
Answers.Text: Confirmed - usually when you hit enter it will try to complete the transaction, but if there are required fields missing they remain visible so they can be completed. Please open an issue. Thanks
Answers.UserDisplayName: Sanjay Jain
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-18T12:49:11.587Z
Answers.Text: Thanks for your help on this, Sanjay.  I've never submitted an issue before (and probably wouldn't have the skills to submit a patch, either).  Should I submit this as a minor or major issue?  It seems minor, but on the other hand, it is preventing me from upgrading to 4.6 because I don't want to lose donations from this bug.  Thanks in advance for your advice!
Answers.UserDisplayName: lesliejmatthews
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-18T16:58:12.610Z
Answers.Text: I'd be tempted to use major :)   The team can always change it if they don't think it's that important.
Answers.UserDisplayName: Sanjay Jain
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-13T15:32:09.787Z
Answers.LastActivityDate: 2015-12-29T19:04:50.663Z
Answers.LastEditDate: 2015-12-29T19:04:50.663Z
Answers.UserDisplayName: Sanjay Jain
Body: <p>Using version 4.6.10.  <strong>I can reproduce this problem on the Demo site.</strong><br>
  <strong>This is the problem:</strong></p>
  
  <ul>
  <li>Create a donation page with an "other amount" option in addition to
  fixed price options.</li>
  <li>Open the live-page or test-drive page link  </li>
  <li>Under Donation Amount, choose "Other Amount" radio button  </li>
  <li>Most of the fields on the page disappear:  the name and address fields, the credit card fields, etc.  </li>
  <li>Input an amount into the "Other Amount" box, and press enter, sometimes the fields briefly reappear. </li>
  <li>But as soon as you scroll with your mouse, the fields disappear again, and you find that there are pink error messages at the top of the page asking you to fill in the missing form fields.  </li>
  <li>However, you can't fill in the missing fields because they have disappeared from the form.</li>
  </ul>
  
  <p>Since I can reproduce this on the demo site, I suspect it may be a bug.  But I'm reluctant to report a bug until I've had some independent confirmation.</p>
  
  <p>Any help would be most appreciated!</p>
  
  <p>Leslie</p>
  
Tags: <civicontribute><contribution-page><issues>
Title: Contribution page "other amount" option causes weird behavior - possible bug?
ThreadText: # Contribution page "other amount" option causes weird behavior - possible bug?
  
  (Asked by: username_0 on 2015-12-13)
  
  Using version 4.6.10. **I can reproduce this problem on the Demo site.**  
  **This is the problem:**
  
  * Create a donation page with an "other amount" option in addition to
    fixed price options.
  * Open the live-page or test-drive page link
  * Under Donation Amount, choose "Other Amount" radio button
  * Most of the fields on the page disappear: the name and address fields, the credit card fields, etc.
  * Input an amount into the "Other Amount" box, and press enter, sometimes the fields briefly reappear.
  * But as soon as you scroll with your mouse, the fields disappear again, and you find that there are pink error messages at the top of the page asking you to fill in the missing form fields.
  * However, you can't fill in the missing fields because they have disappeared from the form.
  
  Since I can reproduce this on the demo site, I suspect it may be a bug. But I'm reluctant to report a bug until I've had some independent confirmation.
  
  Any help would be most appreciated!
  
  Leslie
  
  **Tags:** civicontribute, contribution-page, issues
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-12-13. Score: 2
  
  **Update: This is a bug** - Reported at <https://issues.civicrm.org/jira/browse/CRM-17735>
  
  ---original answer---
  
  I am not seeing this on the demo. On clicking the **Other Amount** radio button, the credit card information section disappears. This is the correct/expected behaviour as the amount is Zero. Adding an amount makes that section reappear.
  
  This could be a browser issue - please test with other OS/Browser combinations. I used [Ubuntu Mate](https://ubuntu-mate.org/) with FireFox 42.0
  
  > **Comments:**
  > **username_0**: Thanks Sanjay.  I have tried this in three browsers:  Firefox 42, Chrome 47, and Microsoft Edge.  I am on a Windows 10 machine.  In all three browsers, the credit card section fails to reappear after adding an amount in the Other Amount box.  Instead, I get the pink messages asking for the necessary information, but the credit card section is absent.  
  > **username_0**: I also just tried this on the Demo site using Firefox running on Ubuntu Desktop 15 in VirtualBox.  Same behavior:  credit card section fails to reappear after adding an amount in the Other Amount box, and pink missing info messages appear at top of page.  
  > **username_1**: Leslie, Which demo are you using? I was testing on Drupal. It might also help testing if you can provide a link to your site where this is happening.  
  > **username_0**: I am also testing on drupal.  http://d46.demo.civicrm.org/  
  > **username_0**: So it appears that this error is related to using the enter key instead of tab or mouse, after entering an "other amount."  Using the enter key to move to the next field causes the errors.  I still think this may be a bug, because users could easily run into this problem if they use the enter key, and once you hit enter, there's no way to recover.  
  > **username_1**: Confirmed - usually when you hit enter it will try to complete the transaction, but if there are required fields missing they remain visible so they can be completed. Please open an issue. Thanks  
  > **username_0**: Thanks for your help on this, Sanjay.  I've never submitted an issue before (and probably wouldn't have the skills to submit a patch, either).  Should I submit this as a minor or major issue?  It seems minor, but on the other hand, it is preventing me from upgrading to 4.6 because I don't want to lose donations from this bug.  Thanks in advance for your advice!  
  > **username_1**: I'd be tempted to use major :)   The team can always change it if they don't think it's that important.  
  
  ---
  
  