Forum Replies Created
-
AuthorPosts
-
calpaq
ParticipantHi support please ignore this question or you can delete it as I do not have facility to do so, I found a way, thanks
May 5, 2021 at 2:02 PM in reply to: ✅How can I mannually save uploaded image or file before redirect #27927calpaq
ParticipantHi Long,
I have a form for users to fill up having some personal information and also want them to upload their documents with that, so basically I am creating a custom post type post and also want users to upload the documents attached with the post, but I want to handle it with the mannual saving on the client server there are some problems that was not allowing to save the data automatically I have mannaged to save the text data posted by fields but not able to save the uploaded docs/images can you give help me in this with some example?Thanks & Regards,
Calpaqcalpaq
ParticipantHi Long
Thanks for your help it worked.
RegardsFebruary 24, 2020 at 7:58 PM in reply to: ✅Allow editing form data which is submitted by "that" author #18387calpaq
ParticipantDear Tran,
I have the same issue but my scenario is different I am creating a survey form and it is a two step form so I am first saving the form and in second step displaying second step fields depending on first step selection so I am redirecting to edit. This survey is private and so there are no users created in the process, I already created a form in a logged in status so the error didn't occured and now I am testing without user and its showing me 'you are not allowed to edit' can you please tell me how to allow this to guest. It will be helpful for me.Thanks & Regards,
Calpaqcalpaq
ParticipantHi Anh,
Thanks for directing me to this topic.
I am using date picker in readonly fields from last 3 years, in which user has only option to choose date in the format specified. Datepicker has dateformat option which solved defining patterns, change easily and which is less clumbersome than finding regex value for the different patterns we wanted, also you do not have to think for character length or size. I have 3-4 forms having number of date fields now I have to change all forms and I have less time to change & test it. Can you please give me some workaround like attributes readonly=true & { nodatepicker=true / nodatepicker=false}
Thanks & Regards
Calpaqcalpaq
ParticipantThank you Tran it worked.
calpaq
ParticipantHi Tran,
Thank you for your reply, can you please divert me to some solution/trick to achieve this?
Regards,
Calpaqcalpaq
ParticipantThank you Tran
Regards,
Calpaqcalpaq
ParticipantHi Tran,
Thanks for your quick replay.
I have a CPT type project which has some fields and I populate them as a form through your plugin. I can save this data as a post using the plugin but now while editing this data by id I would like to have one more option apart from save or submit, that is 'Save as'.
'Save as' will now give me freedom to change the project name & save a copy of the filled data associated with the current project with a different project name (means I will have different post having same data but different project name)
Regards,
Calpaqcalpaq
ParticipantHi Tran,
Again same issue after latest update
error while updating custom post having file field is giving required error, while it was showing the uploaded file.Can you please provide us the solution.
Thanks & Regards,
Calpaqcalpaq
ParticipantHi Tran,
Thank you for prompt reply & providing patch. The patch resolved problem but it nullified our dynamic script that marks the required fields dynamically (sine fields needed to mark it only in front end form). I had actually set them required if not admin using the hookrwmb_frontend_after_submit_button. Can you please give me such setting that will only work for front end or backend specifically so that I can use your patch as well and fulfill out requirement.
Thanks & Regards,
Calpaqcalpaq
ParticipantHi Tran,
Thanks for replying,
This is all relaated with wordpress admin
Let me tell you that I am not using any custom code to save posts and use meta box plugins. In my case I am using custom post type, so I have registered post type and by default its menu is added to wp admin so from there adding/updating/deleting posts. WordPress doesn't validate for post title and it can add same title with different Id. What I want is to validate post title ( i.e. check if post exists and if found retrieve that post and update that instead of creating new post with again same title ). I am using some metabox fields for this post type and now I want to check before insert that if any post exist. So actually I do not want create/insert any new post (if exist ), retrieve the ID and save these meta fields to that existing post, Can you help me in saving these fields with existing post when its already there.
Thanks & Regardscalpaq
ParticipantHi handy,
The only way I find out is, take the file field out of the group and take it as individual field.
Regardscalpaq
ParticipantPlease have a look to upload field I have defined
'fields' => array( array( 'id' => 'eto_personal_photograph', 'type' => 'image', 'name' => esc_html__( 'Upload your photograph: ', 'tmi' ), 'desc' => esc_html__( 'Your photograph can only be in .gif, .jpg or .png format.', 'tmi' ), 'max_file_uploads' => '1', 'attributes' => array( 'required' => array( 'required' => "true" ), ), 'columns' => 12, ), )will this help?
Regardscalpaq
ParticipantHi Anh,
I have taken out the image fields out of group and kept them independently and the problem got resolved, so I think its related to using file fields in group field.
Thanks Regards,
Calpaq -
AuthorPosts