Unfortunately, the username and password you have entered do not match!

Registration

Unfortunately, this username is already taken!

Unfortunately, this e-mail address is already used!

Please retype the verification code.

All fields are required

Auto populate other fields

Welcome, Guest
Username Password: Remember me

Auto populate other fields
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Auto populate other fields

Auto populate other fields 1 year, 8 months ago #11259

  • Randall
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
Hi, it's common now to see in forms to auto populate shipping address to billing address. Typically you are given the option of "Same as Shipping" in which case the billing address is filled with the shipping address. How is this done with this component?

Re:Auto populate other fields 1 year, 8 months ago #11287

Hello,

This can be easily achieved with a custom javascript. For example you can have a checkbox that once checked, triggers the script and copies the information from the shipping address in the billing address fields. The script should be similar to :

<script type="text/javascript">
function getA()
{
if (document.getElementById('checkbox_field_name0').checked) document.getElementById('billing_address').value = document.getElementById('shipping_address').value;
else document.getElementById('billing_address').value = '';
}
</script>


...and should be triggered when the checkbox is ticket by adding the following line in the "Additional attributes" property of your checkbox field:

onclick="getA();"
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team

Re:Auto populate other fields 1 year, 8 months ago #11296

Is it possible to autopopulate another field with the portion AFTER the pipe separator? What I need is both the information before and after the pipe. Any ideas?

Re:Auto populate other fields 5 hours, 1 minute ago #0

Hello,
This is an automatically generated message.
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 wish to receive our 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: http://www.rsjoomla.com/support-policy.html.

Thank You!
PLEASE NOTE: This topic is NOT locked and you can add replies to it. Other users are free to reply as well. This message has been generated by a bot and has no effect on the topic whatsoever.
  • Page:
  • 1
Time to create page: 0.81 seconds
Feedback