Search found 4 matches

by filto
Fri Jul 29, 2022 10:07 pm
Forum: Modules/Add-Ons
Topic: Formbuilder syntax problem
Replies: 30
Views: 6585

Re: Formbuilder syntax problem

The value is validated internally by the module depending on the chosen captcha method (Hn, php, recaptcha) Unless I'm mistaken, you will not have easy access to the value entered by the user it is not assigned to smarty in the template... The only easy solution I see is to force the user to fill th...
by filto
Wed Jul 27, 2022 1:06 am
Forum: Modules/Add-Ons
Topic: Formbuilder syntax problem
Replies: 30
Views: 6585

Re: Formbuilder syntax problem

For the mail field you will get the value wtih : {$entry->value[0]} For RGPD checkbox it depends on what you have set in parameter : Value when checked (Valeur cochée) by default in french this parameter is set to : Coché then you can use it like this in your input : <input ...... {if $entry->value ...
by filto
Mon Jul 25, 2022 4:54 am
Forum: Modules/Add-Ons
Topic: Formbuilder syntax problem
Replies: 30
Views: 6585

Re: Formbuilder syntax problem

{$entry->value} // is default or submited value {if $fb_form_done == 1}{$entry->value}{/if} // is only submited value But i think you’re complicating your task as Jo Morg have said, working with aliases is easier (non repetitive code) and more flexible you will not be able to maintain like this a f...
by filto
Fri May 06, 2022 2:03 am
Forum: CMSMS Core
Topic: Help with News module and Search - displaying results in correct template
Replies: 4
Views: 1653

Re: Help with News module and Search - displaying results in correct template

1 --- in the search results template : {if $entry->module == 'News'} {* --- use this if NOT url_rewriting --- *} {* <li>{$entry->title} - <a href="{$entry->url|replace:"returnid=$page_id":"returnid=$news_page_id"}">{$entry->urltxt}</a> ({$entry->weight}%)</li> *} {* ---...

Go to advanced search