May 17, 2015 at 5:37 pm #44255
I saw this function made for WPUF :
i tried it but it doesnt seem to work anymore, maybe a field name has changed ?
Tx for your help
AlexMay 18, 2015 at 8:18 pm #44407
Any idea about this
This code should work, what should i change ?
Tx !May 19, 2015 at 11:30 am #44438
Please let me know which type of picture you like to set, feature image or an attachment?
Can you please let me clear are you wish to attach a picture before post title?
Thanks.May 19, 2015 at 5:37 pm #44496
I would like to have an image attachment to be required before posting
TxMay 20, 2015 at 4:39 pm #44644
I will experiment the line of code you mentioned at the first post in this topic. After then I can make a statement.
Thanks.May 20, 2015 at 7:47 pm #44688
ok thank you as this is very important for us
AlexMay 24, 2015 at 4:04 pm #45061
The filter “wpuf_add_post_validation” is not available in WP User Frontend Pro but this is available in Free version. So that you are not obtain the function.
ThanksMay 26, 2015 at 12:31 am #45135
The pro version is supposed to be better that the free version, thats why we paid for it !
Could you please provide a solution for the pro version
TxMay 26, 2015 at 4:33 pm #45197
In the free version, there was no option to select required field. You can not change any field out of those fixed field.
But in PRO version you can set any required option in every field. This the option which is the much powerful feature in PRO version.
In frontend. if any field did not fill up then an error will appear in a browser which will suggest to filling up the required field.
Thanks.May 27, 2015 at 3:39 am #45261
Ok Towhid tx for the explanation
But i need a solution
So could you please provide the right code
as the previous code only works for the free version
Tx so muchMay 27, 2015 at 10:27 am #45288
Here is the solution:
Step 1: Assign a Title field in the form and set the field as required.
Step 2: Assign an Image Upload field and also set the field as required.
On Submit the form:
Just leave blank the Image Upload field and click submit button.
After click the submit button the form will provide you a message “Please fix the errors to proceed” and the required item will be a red mark.
Which indicates you can not post then the form before fill up every required item.
ThanksMay 27, 2015 at 4:33 pm #45344
Tx but this is not exactly what i want
there is already a button just above the content “insert an image”
as i dont want people to just attach image to the post, but insert directly to the content
so im looking to check that the user has inserted an image in the content before posting
Tx a lotMay 30, 2015 at 4:09 pm #45681
I will request you to please post this topic in the popular online marketplace and hire a developer to customize this plugin to avail that feature.
The topic ‘Function require to upload picture before post’ is closed to new replies.