external form
Permalink
Can anyone please help me I need help with external form that has it's own .js file, or point me to articale?
I have looked in the help but can find anything?
Thank you
I have looked in the help but can find anything?
Thank you
Good day
Let me see if i got this? I add the .js file in the form folder? is that correct?
Let me see if i got this? I add the .js file in the form folder? is that correct?
Thanks for the help I have 5.2.1 so I did copy the header_required.php. now I am going to need some help to edit this php, I have the following file that is requered for the form to work.
CaptchaSecurityImage.php
livevalidation_standalone.js
monofont.ttf
reset-fonts-grids.css
consolidated_common.css
Now how would I edite the header_required.php, the page that I am adding the form to is called Spitbraai.
Please can you help me with this.
Thanks
CaptchaSecurityImage.php
livevalidation_standalone.js
monofont.ttf
reset-fonts-grids.css
consolidated_common.css
Now how would I edite the header_required.php, the page that I am adding the form to is called Spitbraai.
Please can you help me with this.
Thanks
put the following file types
*.css into css/
*.php into helpers/
*.js into js/
copy header_required.php into elements/ and add
beneath the core includes
*.css into css/
*.php into helpers/
*.js into js/
copy header_required.php into elements/ and add
$this->addHeaderItem($html->javascript('my.js')); $this->addHeaderItem($html->css('my.css'));
beneath the core includes
Thanks working on it now? where do i put the .ttf file
Thanks
Thanks
Why do you need a ttf file? Do you want to use your own font?
A form doesn't need a ttf file unless you're a graphic designer that thinks the standard fonts aren't nice enough..
A form doesn't need a ttf file unless you're a graphic designer that thinks the standard fonts aren't nice enough..
I have adde the following code in the header_required.php page
</script>
<?php
$this->addHeaderItem($html->javascript('livevalidation_standalone.js'));
$this->addHeaderItem($html->css('consolidated_common.css'));
$this->addHeaderItem($html->css('reset-fonts-grids.css'));
$this->addHeaderItem($html->helpers('CaptchaSecurityImages.php'));
$this->addHeaderItem($html->helpers('monofont.ttf'));
But I get the following error when runing concrete
Fatal error: Call to a member function javascript() on a non-object in C:\wamp\www\OceanLife-Concrete\elements\header_required.php on line 73
</script>
<?php
$this->addHeaderItem($html->javascript('livevalidation_standalone.js'));
$this->addHeaderItem($html->css('consolidated_common.css'));
$this->addHeaderItem($html->css('reset-fonts-grids.css'));
$this->addHeaderItem($html->helpers('CaptchaSecurityImages.php'));
$this->addHeaderItem($html->helpers('monofont.ttf'));
But I get the following error when runing concrete
Fatal error: Call to a member function javascript() on a non-object in C:\wamp\www\OceanLife-Concrete\elements\header_required.php on line 73
I use this font in my validation of the information the user has entered.
Thanks
Thanks
Good day
I got the form working with the js file, but now it is nt showing the security image for the email form
I have added the CaptchaSecurityImages.php and the monofont.ttf file in the helpers folder is this correct
I got the form working with the js file, but now it is nt showing the security image for the email form
I have added the CaptchaSecurityImages.php and the monofont.ttf file in the helpers folder is this correct
Good day
Thanks for the help form is work sofar, but just the security images that does not display, I have added the CaptchaSecurityImages.php in the helpers folder, but on the form I get no display? how do I point the form to the CaptchaSecurityImages.php page that is in the helpers folder?
Thanks
Thanks for the help form is work sofar, but just the security images that does not display, I have added the CaptchaSecurityImages.php in the helpers folder, but on the form I get no display? how do I point the form to the CaptchaSecurityImages.php page that is in the helpers folder?
Thanks
i think with 5.3 you can add myblockscript.js to your form folder and it will be included automatically in the header