Forum Discussion

AustinK's avatar
AustinK
Qrew Commander
6 years ago

Re: Alert popup should not save

If you could post the code you are using and exactly how you are using it that would be a huge help. It is hard to provide a solution when nobody knows exactly what is happening to you. Can you explain what you are trying to make happen? Is this a popup to tell someone they entered bad data in some way, if so the custom data validation rules might make sense to use. If it is just an informational popup not related to saving the record then you might need to go another way.

1 Reply

  • AlexusHill's avatar
    AlexusHill
    Qrew Member
    This is my code below, I am trying to create a help alert button that will help assist users in editing a record properly. When I am testing this help button in edit mode and press 'ok' after the pop up appears. The record then saves and leaves editing mode. When I need to the form to stay in editing mode so they can continue to fill out the form and save it when they're done. 

    "javascript: (alert ('1. You must select all healthcare options before totals will calculate.\\n2. A PEG Company and start date/effective date are required in order for the Healthcare Option to populate.'));"

    ------------------------------
    Alexus Hill
    ------------------------------