Sven Wagener
Forum Replies Created
-
Forum: Plugins
In reply to: [Torro Forms] Some Data is lost when it submitHello,
I need access to the form and the data to analyse this. Can you please send me an email with temporary login data for the site with the problems to sven [at] awesome.ug?
Greetings,
Sven
Forum: Plugins
In reply to: [Torro Forms] dropdown requeird feildBecuase there is no answer yet. I will close this ticket.
Forum: Plugins
In reply to: [Torro Forms] How to change error messagesHi,
in the moment you can only filter the ‘gettext’ filter of the WordPress. We don’t have implemented a filter for it yet.
Example:
function changemytext( $translations, $text, $domain ) { if( $domain !== 'torro-forms' ) { return $translations; } if( 'You must input something.' === $text ) { $translations = 'YOUR TEXT HERE'; } return $translations; } add_filter( 'gettext', 'changemytext', 10, 3);(Not tested)
I hope that helps!
Sven
Forum: Plugins
In reply to: [Torro Forms] print submmitionsHi,
at the moment you can download a Excel or CSV file or you can add a Notification Email, which you can print. A print direct from the result in the backend is not possible in the moment.
Greetings,
Sven
Forum: Plugins
In reply to: [Torro Forms] After updating AVADA 5.0 Torro forms AcctionsHi,
thank you for reporting. I will check this with my license of the Avada theme and give you feedback.
Greetings,
Sven
Forum: Plugins
In reply to: [Torro Forms] Gloabally Available VariablesI have written you the function for the actual version of Torro Forms:
function get_active_forms_that_are_not_expired() { global $wpdb; $results = $wpdb->get_results( "SELECT * FROM $wpdb->posts WHERE post_type = 'torro_form'" ); $active_forms = array(); foreach( $results AS $result ) { $start_date = get_post_meta( $result->ID, 'start_date', true ); $end_date = get_post_meta( $result->ID, 'end_date', true ); if( empty( $start_date ) && empty( $end_date ) ) { continue; } if( strtotime( $start_date ) > time() ) { continue; } if( strtotime( $end_date ) < time() ) { continue; } $active_forms[] = $result; } return $active_forms; }I hope that helps you! π
Forum: Plugins
In reply to: [Torro Forms] Gloabally Available VariablesHello,
I am very sorry, but at the moment this is not possible by the API. I have to change the way we are saving the date. We are saving the date as string and we need it as timestamp to do the query. I have added a ticket for that and will change this in the next beta.
Here is the Issue on Github on that topic:
https://github.com/awsmug/torro-forms/issues/298At the moment there is only the possibility to use the function get_posts to get all from post_type “torro_form” and to check the dates manually.
Greetings,
Sven
- This reply was modified 9 years, 10 months ago by Sven Wagener.
Forum: Plugins
In reply to: [Torro Forms] Email validationBeta 7 iss not late enough. You have to download the developement version from this URL.
Forum: Plugins
In reply to: [Torro Forms] Email validationI have added a functionality for adding your own validations today. Please download the latest developer version from Github:
https://github.com/awsmug/torro-forms/tree/develop
Here I have added an example how to do your own validations:
https://torro-forms.com/adding-extra-validations-elements/I hope that helps you! π
Forum: Plugins
In reply to: [Torro Forms] Email validationHello,
we are implementing a possibility that you can add additional checks to elements. See here:
https://github.com/awsmug/torro-forms/issues/294
Greetings,
Sven
Forum: Plugins
In reply to: [Torro Forms] dropdown requeird feildCan you please send me a screenshot of your element settings of the dropdown?
Thank you!
Forum: Plugins
In reply to: [Torro Forms] torro_response_saved – how to get submitted data?Hi Marc,
you just have forgotten to add the priority and the numbers of parameters which have to be given to the function:
add_action('torro_response_saved', 'torro_form_saved', 10, 3 );Greetings,
Sven
Forum: Plugins
In reply to: [Torro Forms] torro_response_saved – how to get submitted data?Hi Marc,
I will have a look at this. It seems to be OK. Sorry that I don’t replied earlier, but I was on the WordCamp Frankfurt the last week.
Greetings,
Sven
Forum: Plugins
In reply to: [Torro Forms] Message doesn't show up in the emalHi David,
I have tried to reproduce the error. Can you please switch off all other plugins and try it out? If this also not works, can you please tell me which Browser on which Operating System do you use? I have to reproduce the error to fix it.
Greetings,
Sven
Forum: Plugins
In reply to: [Facebook Fanpage import] Imports only first imageCan you please check it out with 1.0.0-beta.6. If you have furter fails, please open a new ticket.