You need to sign in to do that
Don't have an account?
mukesh gupta
custom signup form
Hi Expert,
I am creating Custom signup form from this url "https://github.com/salesforceidentity/basic-custom-login" but i am not getting what is "fieldpath" and "dbrequired". if these are registration form field then what field type i need to create.
Thanks
Mukesh
I am creating Custom signup form from this url "https://github.com/salesforceidentity/basic-custom-login" but i am not getting what is "fieldpath" and "dbrequired". if these are registration form field then what field type i need to create.
<apex:repeat value="{!$ObjectType.User.FieldSets.Registration}" var="f"> <div class="form-group"> <div class="col-md-4"></div> <div class="col-md-4"> <apex:inputField value="{!User[f]}" styleClass="form-control reg_{!f.fieldpath}" onfocus="$('#req_{!f.fieldpath}').fadeIn();"/> </div> <div class="col-md-4"><apex:outputText rendered="{!f.dbrequired}"><span id="req_{!f.fieldpath}" style="display:none;color:red;">required</span></apex:outputText></div> </div> </apex:repeat>
Thanks
Mukesh
DBRequired - Indicates whether the field is required for the object
FieldPath - Lists the field’s spanning info
Refer below link for more info.
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_dynamic_vf_field_sets.htm
Let me know if this helps:)
Thanks!
Amit Singh