unwanted space being added to email field views drupal 7 - view

I am in the process of changing a php site over to a drupal. I am having an issue with rewriting an email field. I want all the buttons to say "EMAIL", but then I want the buttons to link to the individuals actual email address. So here's what I've done in views:
I set the email field up as a text field (when I tried setting it up
as an email field it added unnecessary characters %40)
then I rewrote the results
added text field "EMAIL"
outputted the field as a link using replacement patterns
"mailto:[field_email] clicked apply and save
Now when I hover over the email button it shows the correct email only it is adding unwanted space between mailto: and info#info.com (mailto: between info#info.com).
I need to remove the unnecessary white space between the mailto: and info

In order to remove the extra spaces being added between the "mailto:" and "info#info.com" in views you need to disable "Use Field Templates" under the Style Section (while editing the individual field).

Related

How to add an additional label to each address form field in Prestashop 1.7.7.0?

I am using Prestashop version 1.7.7.0.
How to add an additional label to each address form field? I see from form-fields.tpl that the fields labels are retrieved by $field.label. It is possible to add a property like $field.label2? If so where?
The additional label will be displayed as a "helper" string near the field.
Example:

Rails: disable input tag upon selection from a dropdown menu

Scenario/Context
I've got a drop down menu with two input elements underneath.
From the dropdown menu, are names of companies (with values set to the respective company id's), and another prompt to Add a new company.
If the option to Add a new company is selected from the dropdown, then the user is to fill out the 2 input field elements (i.e. company name and company email).
Otherwise, if an available company is selected from the dropdown,
then the 2 input fields (for company name and email are to be disabled).
My question
Is this possible to do without an AJAX call if I want things to happen without a page refresh?
Can anyone suggest some other alternatives??
Many thanks!
That is absolutely possible, though you'd need to use some JavaScript to make it happen and load a bit more data to the DOM on the initial page load.
For each option in your company select dropdown, add a data attribute for the name and email.
Then, watch that dropdown for the change event in JavaScript. Whenever that event is fired, if the data-company-name and data-company-email attributes are defined for the selected option, disable the input fields and populate them with those values. If those data attributes are not defined for the option (likely only for your 'Add a new company' option), then clear the values from the input fields and enable them.

Issue with the size of the To field in CRM Email form

We use CRM 2016 SP1 on-premise. We are experiencing an issue with the size of the To field of the built-in email View form whereby the field only displays up to three lines of email addresses and truncates the rest.
I know that I can click the list and scroll it in the Edit form, but this is not an option in the View form.
Is there any way to get the To field to expand/scroll in the View form?
This is product limitation to show maximum 3 rows. But you should see scroll bar to look at all other recipients.
Another option is click on Lens icon & inline Lookup window will open, if you scroll all the way down - you can see Look up More Records, click it. This will open Lookup popup where 5 lines of recipients will show, where you can add/remove in bulk.
Update:
It seems your issue is with Closed activities, this form may be limited for customizations. Try Print (Ctrl+P) to see whether all the recipients are showing.

How to Dynamically set to Field in Oracle apex 5.1 button

I have button in a page that will send an email. I have created a process for sending email (which is in built). The email is working fine.
My problem now is to assign to based on the form item (P5_email).
Also on the Email body, i would want to dynamically update the text based on the Items on the page
Anyone with the idea
Enter substitution string &P5_EMAIL. in Body Plain Text property of Send Email Process to include dynamic content in your text.

If anything than numbers inside textfield hide the submit button?

I have multiple select and 2 text fields for advance multiple search in Magento eshop. The text field 1 has the value "Price Low" and the 2nd "Price High".
I want to disable the submit button until the user fills in only with numbers in the text fields, whose IDs are: "searchbar" and "searchbar2".
My problem is that if nothing is filled in the text field and the user submits the data, it will query "Price Low" & "Price High" text fields in the result and it will mess with the other values ("brand" etc).
Magento forms already use Really Easy Field Validation for Javascript so all you need to do is give those fields a class="required validate-number" and the rest is automatic.
However on the server side you should must validate all fields yourself if not for better searching then for security reasons. Remember the programmer's mantra; Garbage In, Garbage Out!

Resources