• 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: Captcha - Add Placeholders?

Captcha - Add Placeholders? 12 years 1 month ago #22555

How do I add placeholders in the HTML of the Form Layout tab? Could someone please give me a step by step way of doing this, please? It's to add Captcha and my auto layout generation is off.

Thanks! :dry:
The administrator has disabled public write access.

Captcha - Add Placeholders? 12 years 4 weeks ago #22577

  • silviup
  • silviup's Avatar
  • OFFLINE
  • Moderator
  • Posts: 309
  • Thank you received: 49
Assuming that your Captcha field's name is 'captcha', the placeholder available for the field are

{captcha:caption}, {captcha:body}, {captcha:validation}, {captcha:description}. Note that the ':body' and ':validation' placeholders are mandatory.

You can place these anywhere in the form's layout, in a manner that best suits your needs.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Captcha - Add Placeholders? 11 years 10 months ago #23805

  • anthony.burge
  • anthony.burge's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 3
I have a question related to placeholders (I'm following documentation at www.rsjoomla.com/support/documentation/v...-different-form.html)

If I had the following code
<div class="rsform-block rsform-block-address-line1">
		<div class="formControlLabel">{Address Line1:caption}<strong class="formRequired">*</strong></div>
		<div class="formControls">
		<div class="formBody">{Address Line1:body}<span class="formValidation">{Address Line1:validation}</span></div>
		<p class="formDescription">{Address Line1:description}</p>
		</div>
	</div>

Where would I place {Address Line1:value} ?
The administrator has disabled public write access.

Captcha - Add Placeholders? 11 years 8 months ago #24692

  • modernmagic
  • modernmagic's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
  • Thank you received: 2
I am looking for a way to add a html form "placeholder".

placeholder="type in above text here"

I have mocked it up using dev tools as you can see in the screenshot.



Can this be done with RSFORMS?
The administrator has disabled public write access.

Captcha - Add Placeholders? 11 years 8 months ago #24711

Yes this can be done with RSForm!Pro, and with a bit of Javascript.

Adding this in the Form's CSS and Javascript section will change the CAPTCHA's placeholder

<script type="text/javascript">
window.addEvent('domready', function() {

document.getElementById('captcha29text').placeholder='type in above text here';

});
</script>

For more information please also refer to the following article:

www.rsjoomla.com/support/documentation/v...s-being-loaded-.html

PS: I forgot to mention that the "captcha29text" string will need to be replaced with your CAPTCHA textbox's id, which you can easily obtain by using a web development plugin (either Firebug for Firefox or Chrome Development Tools - press F12 to summon them - ).
Please remember that my responses aren't considered customer support, to receive customer support please submit a new customer support ticket, and we will gladly assist you.

Best Regards,
Cristian Nicolae.
Last Edit: 11 years 8 months ago by cristian.nicolae. Reason: i feel powerful today
The administrator has disabled public write access.
The following user(s) said Thank You: iteach2help
  • 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!