Skip to content

Conversation

@thatnerd64
Copy link
Owner

Auto-fill and focus the contact form subject field based on the selected pricing plan.


Open Background Agent:
Web · Cursor

Learn more about Background Agents

cursoragent and others added 2 commits July 22, 2025 06:08
Co-authored-by: lucaswan348 <lucaswan348@gmail.com>
Co-authored-by: lucaswan348 <lucaswan348@gmail.com>
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Debugging Code in Production

The test.js file, containing only console.log('test');, appears to be accidentally committed debugging/test code that should not be in the production codebase.

test.js#L1-L1

console.log('test');

Fix in CursorFix in Web


Bug: Double Dollar Signs in Contact Form Subject

When a pricing plan's contact button is clicked, the contact form subject field is populated with double dollar signs (e.g., $$19.99 Basic Plan). This occurs because the code unconditionally prepends a $ to the price, assuming it doesn't already contain the currency symbol, which is often present in pricing displays.

script.js#L376-L377

NeonForge-Hosting/script.js

Lines 376 to 377 in dacfeea

subjectInput.value = `$${price} ${planName} Plan`;
subjectInput.focus();

Fix in CursorFix in Web


BugBot free trial expires on August 4, 2025
Learn more in the Cursor dashboard.

Was this report helpful? Give feedback by reacting with 👍 or 👎

Co-authored-by: lucaswan348 <lucaswan348@gmail.com>
@thatnerd64 thatnerd64 merged commit 353318e into main Jul 22, 2025
2 checks passed
@thatnerd64 thatnerd64 deleted the cursor/route-plan-buttons-to-email-form-2cb0 branch July 22, 2025 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants