Forum Post: Re: Url Field Does Not Accept A Web Address - New Ui

  • Thread starter Thread starter Mohammed Siraj
  • Start date Start date
Status
Not open for further replies.
M

Mohammed Siraj

Guest
Yes, agree that we need to have more permissible client-side validation in this case. For now, to ensure that strict URL constraints are not enforced on URL field, you can replace input control type="url" with type="text". Eg: var fieldContext = rbf_getFieldContext('urlA');//'urlA' is integeration name of field if(fieldContext){ var node = fieldContext.getNode(); node.attr('type','text'); } This way you can circumvent client-side validation. However, any other grave validation errors will still be reported via server-side validations. In forthcoming releases, will review & update client-side validation to be more permissible in such scenarios.

Continue reading...
 
Status
Not open for further replies.
Back
Top