Tagged: Front End
- This topic has 3 replies, 4 voices, and was last updated 4 years, 6 months ago by
LEO.
-
AuthorPosts
-
-
August 19, 2016 at 4:12 pm #7197
eflouretMemberHi,
It seems that currently Piklist can’t show the uploaded image preview on a front end form before submitting it.
It also seems that you can’t control the limit of the amount of repeated field gropus (Add More fields) in the front end form, again, before submitting it.For a frontend form those features are crucial. In fact without them the front end form in some cases is useless.
The user should be able to see a preview of the image in the frontend before submitting. Also the form should limit the amount of group fields before submitting, not after.
Is there a way to achieve that with extra programming? Is there a hook or something, or even a way using Javascript to add those two features?
I’m not asking for a solution, but just a guideline or just point me in which direction should I go to achieve this.
Thanks!
Enrique
-
August 22, 2016 at 4:18 pm #7217
jrcreativeMemberI would appreciate this, too.
I have a front-end form with a file uploader, and an add-more field that I want to force to have a minimum of 3 items. The server side validation works fine, but a side-effect of server-side only validation is if they only put in 2 items and submit, it errors and comes back to the page wiping out everything that was submitted and they have to re-upload/enter everything.
I see that there is a checkbox in piklist settings to use front-end validation, but it doesn’t seem to apply to these field types.
-
August 23, 2016 at 11:42 am #7231
SteveKeymasterWe decided to implement server-side validation first because it’s way more secure than javascript validation. We plan on implementing both in the future.
-
August 1, 2017 at 10:46 am #8343
LEOParticipantSteve, when does it come ?
-
-
AuthorPosts
- You must be logged in to reply to this topic.