Kevin Stover
Forum Replies Created
-
Hey,
You would need to write a little bit of custom CSS to accomplish this. You can put it in your there’s CSS file, but I’d recommend making a custom plugin to include it. That way you could easily disable and enable it. This would also mean that theme upgrades wouldn’t cause you to lose the custom CSS code.
If you follow the directions on the link I gave, it should be.
Hey Spindle,
Sorry I missed this post. Your best solution would be to create a new custom field. You could then use the [ninja_forms_field id=23] shortcode to display this number to the user in their email or the success message.
You can get some more info on custom field creation here:
http://wpninjas.com/ninja-forms/docs/capturing-the-ip-address-of-a-form-submitter/
So, you do something like this inside your pre_process function:
function my_pre_process_function(){
add_filter( ‘ninja_forms_field’, ‘my_filter_function’, 10, 2 );
}Then you’d add a function to actually do the filtering.
function my_filter_function( $data, $field_id ){
if( $field_id = 3 ){
$data[‘default_value’] = “My New Text Value”;
}
$return $data;
}The filter is a WordPress filter. You just use the add_filter() function and your function will fire whenever the filter is triggered.
You are correct in assuming that it’s not sent with the $ninja_forms_field->get_field_value() or update_field_value(). You can change it fairly easily using the ‘ninja_forms_field’ WordPress filter.
Here’s the doc on the filter itself: http://wpninjas.com/ninja-forms/docs/ninja_forms_field/
You’ll want to return $data with a new value set for: $data[‘default_value’]. Whatever you have that variable equal to will be displayed in the Text Layout Element.
Hey,
Deactivate and then reactivate the plugin. Let me know if that gives you any forms.
I was able to reproduce it. I’ll work on a fix for Monday’s update.
Yup. That should work fine as long as the 14 is the field id you’re looking for.
Forum: Plugins
In reply to: [Ninja Announcements Lite] Css position: fixedHey,
Somehow this thread didn’t get emailed to me until your response mmicrosysm. We are currently in the middle of re-working Ninja Announcements and moving it over to our new site. It’s not abandoned, we’ve just been super busy. 🙁
Hey Dreadlocks,
We usually handle support for extensions over at our forum: http://www.wpninjas.com/members/.
Make sure that you have the File Upload Extension active. If it’s not active, then it won’t be added to the “licenses” tab.
You can use the same shortcode in the “Administrator Subject Message” on the “Form Settings” tab as you do in the user email content.
Hey,
Thanks for the heads up. I’ll take a look and try to reproduce it. Do you get the same results with both AJAX enabled and disabled?
In the “email from” setting, make sure that your email address looks like: Your Name <me@email.com> rather than just: me@email.com.
In the “email from” setting, make sure that your email address looks like: Your Name <me@email.com> rather than just: me@email.com.