By Garrett on Friday, 18 September 2020
Posted in General Issues
Replies 4
Likes 0
Views 809
Votes 0
There is no error that shows up when a user has not filled in the custom details. This is what I have setup:

<field name = "reference_users" type = "list" label = "Reference" class="required form-control">
<option value = ""> Select One </option>
<option value = "Website"> Website </option>
<option value = "Newsletter"> Newsletter </option>
<option value = "Online Advertisement"> Online Advertisement </option>
<option value = "TV"> TV Ad </option>
</field>

I see an error on other fields like country but not for the custom user details.

Thanks
Also, Should I be adding
required="required"

That is not in the documentation.
https://stackideas.com/docs/payplans/administrators/users/custom-details

It would look like this?

<field name = "reference_users" type = "list" label = "Reference" class="required form-control" required="required">
·
Friday, 18 September 2020 00:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Garrete,

It would look like this?

<field name = "reference_users" type = "list" label = "Reference" class="required form-control" required="required">

Yes, it should be required="required", we will update the document as well as.

Regarding show error message related to required filed, i've logged it into our issue tracker.
Once fixed internally, we will update you.

Thank you for understanding !
·
Friday, 18 September 2020 13:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

from when you change the behaviour of this lines of code?
I've an old installation /with old code) and realize just now that many user can subscribe without required parameters.

Thans,
M.
·
Wednesday, 27 January 2021 23:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey,

In PayPlans 4.x version required attribute work like shown above.
In PayPlans 4.x version we revamped the code structure so you need to use the syntax as per new structure.

Let me know if you have any query.
·
Friday, 29 January 2021 11:03
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post