This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 3
Feature request repeat: custom verification of fields with regular expressions
Started 11 years ago by williamansley | 7 posts |
-
Yuniar,
I have requested this before and I have been told that there are no plans to implement this feature.
http://www.appnitro.com/forums/topic/feature-request-custom-field-verification?replies=4#post-14138
To summarize: I would like to see an advanced feature added for custom field verification, at least for single line text fields (I'm not sure it would make sense for any other field type). I would like two new "slots" to be added to the field properties for single line text fields: one that will hold a regular expression and one that will hold a custom error message. This way, you could add custom verification to a field on a form, on a form-by-form basis, *without* having to edit the base code to add the custom verification and error message and *without* having to wrap the custom code inside conditional statements to keep it from being executed in the wrong form.
I am bringing this up again because of an awkward situation I find myself in. In Machform 2, I experimented by adding some custom verification. When we upgraded to Machform 3 and my custom code was wiped out, my supervisor told me, "No more customization." Unfortunately, one of the users I provided with a Machform 2 form with customized verification keeps asking why he can't have it again in the new form, and he isn't satisfied with the answer, "Because my supervisor said so."
You can certainly say to me, "You made your own bed, now lie in it!" However, you have admitted that this would not be a hard feature for you to implement; your reason for not doing so is that you do not want to support the creation of regular expressions. I think this is an absurd argument; you don't have to support regexp authoring just because you provide a tool that allows regexps to be used. There are a large number of resources on using regular expressions on the internet; just point people with questions to a list of appropriate web sites. Are Linux distributors obligated to create a regexp for each individual Linux user who uses grep? Is the person who wrote the grep code? I don't think so!
Posted 11 years ago # -
William,
I appreciate all your feedbacks and opinions regarding MachForm but we won't be doing a debate with our customers regarding new feature.
To summarize, we keep a note of all requests into a list. After a new version update has been released, we reviewed the list and decide which feature need to be implemented within the next update.
There are many reasons why we implement a feature or not and this is fully our discretion.
I completely understand that our decisions won't satisfy all users (and I'm sorry for that) but I believe we're going into the right direction and really looking forward to improve machform further.MachForm Founder
Posted 11 years ago # -
I apologize for bringing this issue up again when you had made your position clear already; it was due to my frustration with the situation I found myself in, which is completely my responsibility to deal with; I shouldn't have vented my frustration in this forum. However, I am going to have to start evaluating alternatives to Machform at this point because your vision for the product isn't quite meeting the needs of my institution.
Posted 11 years ago # -
Good day.
As the user above, I have a great interest in the use of regular expressions! And just as he would not think greater problems, because there are all kinds of user: basic, intermediate and advanced.
However, regarding the position of the developers, just ask also that this position may be reviewed at this hour with love, ok?
However, today, with the latest version, which would be the possibility that I implement for my own risk, regular expressions?
Was there any way to implement them in my code?:
For myself, I have enough experience with RegEx, but not much with CSS.
Thank you.
Posted 11 years ago # -
@rogeriotenorio: I have been thinking along the same lines, but what needs to be modified is the PHP code (and probably a little HTML), not CSS, and the amount of work is not small. Having said that. my PHP skills are certainly not presently up to the task and I currently have no idea exactly how extensive the modifications will have to be or exactly which files will need to be changed, but I may try to look into this.
If I ever come up with something worth sharing, I'll post it here.
Posted 11 years ago # -
I too would like to implement some custom validations.
I have the javascript code, so is it possible for me to modify the validation script to include my own javascript validation.
To keep things simpler, there is no need for server end validation once the javascript is done (its in a closed environment so I'm not concerned about javascript being disabled etc)
Paddy
Posted 11 years ago # -
Paddy -- all forms load the "view.js" file. If you are familiar with javascript code, simply edit that file to include your custom code.
MachForm Founder
Posted 11 years ago #
Reply
You must log in to post.