Support

  1. techjoomla
  2. Features Request
  3. Monday, September 22 2014, 11:43 AM
Hello Guys,

I want to suggest one feature request.

In the text field type there should one checkbox available for it. Which can copy other text field value if it is checked.

Like same as above field.

For eg.
If I am using a form to get personal details along with the company details. I should be able to copy the personal details (text fields ) into the company details (text fields) or vice versa

I hope you would consider my suggestion. It would help you to add an extra feature in easy-profile.

Thanks in advance.

Durgesh
admin Accepted Answer
Admin
Hi,
thanks for your suggestion.

for now this is possible only with Javascript Knowledge.

We will add on your TODO list, but this is not a priority feature :(
  1. more than a month ago
  2. Features Request
  3. # 1
techjoomla Accepted Answer
Thanks for your feedback.
How to do this using custom javascript?
Can you please send custom javascript for implementing this in my project using easy-profile?
  1. more than a month ago
  2. Features Request
  3. # 2
admin Accepted Answer
Admin
Hi,
sorry for late reply, try to follow these steps:

- create 2 textarea field called "address 1" and "address 2" with alias "address_1" and "address_2"
- create 1 checkbox with 1 option "1|Copy value" with alias "copy_from1_to2"
- set this condition on checkbox field: if equal to custom value 1 hide "address 2" field
- add this code to your template:
jQuery(document).ready(function($)
{
$('#jform_copy_from1_to20').change(function(){
if($('#jform_copy_from1_to20').is(':checked')){
$('#jform_address_2').val($('#jform_address_1').val());
}
});
}

id of checkbox fields are built so: "#jform_" + "alias of field" + "number of option", so for alias "copy_from1_to2" we have "jform_copy_from1_to20"
  1. more than a month ago
  2. Features Request
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.

Request Support

Support is currently Online

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.