Forum Replies Created
-
AuthorPosts
-
March 18, 2016 at 10:46 am in reply to: Create post from front-end form, but piklist_empty_post_title not working #6116
digger149MemberI have just discovered that it works properly if the custom post is created in the admin backend, it must be something to do with the front end form processing
digger149MemberWould be great on the front-end as well.
Oh well, I will have to get my Jquery toolbox out
Many thanks for your help
digger149MemberHi Steve
I’m struggling with how to get workflows on front end forms – is it possible?
Cheers
Ian
digger149MemberYep, that was it – you need to save (update) the form before you can use the variables.
Can anyone think of a way round this?
digger149MemberOn further investigation, I wanted to check out bits of the functionality
If I use
$price = get_the_ID();
It correctly finds the PostID and multiplies it, its is just not picking up the meta value for ‘price’
digger149MemberThanks, but
It works if I say:
$price = '20';but it doesn’t (it returns zero) if I say:
$price = get_post_meta(get_the_ID(), 'price', true)The price of the ticket can vary, so it is a variable field in the form
digger149Memberoh well, I deleted the plugin directory and re-installed 9.9 and now it works fine
Cheers
-
AuthorPosts