Text and number formatting

I am looking for a module that will format entries. Here are some examples:

- phone numbers entered as 4445551234 to be converted to 444-555-1234 or (444) 555-1234
- text entered as UPPERCASE to be changed to lowercase with 1st letter Capitalized
- other text formatting like i5896548 to be converted to I-589-6548

I have searched Google and Drupal site for a solution but haven't found any ready made modules, only lots of coding suggestions.
 

How do you update to a "dev" version of a module?

I'm using Drupal 7. After upgrading PHP to version 7.2, I'm getting lots of errors about a deprecated function called "create_function" that one of my modules "Default Content" uses. I look on the Issues page for that module and I find that there is a new "dev" release for the Default Content module, which I can download here:

https://www.drupal.org/project/defaultcontent/releases/7.x-1.x-dev

Form Field as views contextual filter argument

Hello and I thank any knowledge shared

I am trying to enter a form field (which is an entity reference prepopulate) as an argument in contextual filter for display of a node.

1) is this possible, if so how. (id from url will not work as it is on a different node create form)

2) The argument field is derived from a relationship, is this possible over and above 1?

Thank you for advise. 

Update field value on AJAX validation function

Hi, I have a node form with two fields:

  • field_one
  • field_two

field_one has an AJAX callback with a validate method.

I need to change the value of field_two when field_one changes.

Where can I find managed VPS with Control Panel?

I need something like cPanel in shared hosting plans because sometimes I install something and went wrong... 

I need a VPS with lightspeed and Memcached at least.

Any suggestions?

I can´t log in anymore!

Inspectioning the site I found out this:

Failed to load resource: the server responded with a status of 403 () https://licitacao.online/user/1/edit?pass-reset-token=h-RPfFvv9vnJ479T-4...

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x