• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Sentence Case - Position Field

Sentence Case - Position Field 10 months 4 weeks ago #43443

Dear Community

Kindly need your help as I want the input of a field to be a sentence case. Example:

Input Field: english teacher or english Teacher or English teacher
Result: English Teacher

Can you please tell me how to do it using RSForms?

Thanks in advance.

Regards,
Ahmad Moussa
The administrator has disabled public write access.

Sentence Case - Position Field 10 months 3 weeks ago #43449

  • dragos
  • dragos's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 630
  • Thank you received: 114
Hello,

You can try adding something similar in the "Scripts called on form process" area:
$_POST['form']['your_field_name'] = ucwords($_POST['form']['your_field_name']);

Make sure you're replacing 'your_field_name' with the actual name of your field.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!