value = '{{ current_user_id }}';
            document.getElementById('receiver_id').value = userId;
        } else {
            // They are paying you
            document.getElementById('payer_id').value = userId;
            document.getElementById('receiver_id').value = '{{ current_user_id }}';
        }
        
        document.getElementById('amount').value = amount.toFixed(2);
        document.getElementById('description').value = 'Settlement with ' + userName;
        
        // Scroll to the form